ohnoitsaninja
Well-known member
Months ago I used the ADC library without problems with my LC, but on a new computer setup I'm having issues with the installation. I'm using Arduino IDE 1.6.5, Teensyduino 1.26, and I've tried multiple commits of the ADC library, but error trying to compile any of the examples.
I can see 'DMAMUX_SOURCE_ADC1' is supposed to be defined in kinesis.h but it's not seeing it and I don't know why or how to track down what is going wrong.
C:\Program Files (x86)\Arduino\libraries\ADC-master\RingBufferDMA.cpp: In member function 'void RingBufferDMA::start()':
C:\Program Files (x86)\Arduino\libraries\ADC-master\RingBufferDMA.cpp:108:29: error: 'DMAMUX_SOURCE_ADC1' was not declared in this scope
DMAMUX_SOURCE_ADC = DMAMUX_SOURCE_ADC1;
I have tried installing the ADC folder to both C:\Program Files (x86)\Arduino\libraries and C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries
Hopefully an easy fix as I know I had this working before, thanks!
I can see 'DMAMUX_SOURCE_ADC1' is supposed to be defined in kinesis.h but it's not seeing it and I don't know why or how to track down what is going wrong.
C:\Program Files (x86)\Arduino\libraries\ADC-master\RingBufferDMA.cpp: In member function 'void RingBufferDMA::start()':
C:\Program Files (x86)\Arduino\libraries\ADC-master\RingBufferDMA.cpp:108:29: error: 'DMAMUX_SOURCE_ADC1' was not declared in this scope
DMAMUX_SOURCE_ADC = DMAMUX_SOURCE_ADC1;
I have tried installing the ADC folder to both C:\Program Files (x86)\Arduino\libraries and C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries
Hopefully an easy fix as I know I had this working before, thanks!
Last edited: