This issue was encountered in Teensyduino 1.41 in combination with Arduino 1.8.5, both freshly installed yesterday. The chip is a Teensy 3.5.
The example code I'm trying to compile are the provided examples adc_pdb (which fails), and analogRead (which works).
adc_pdb:45: error: 'ADC_VERY_LOW_SPEED' was not declared in this scope
adc->setConversionSpeed(ADC_VERY_LOW_SPEED, ADC_1); // change the conversion speed
analogRead's version of that line compiles and functions quite well:
adc->setConversionSpeed(ADC_CONVERSION_SPEED::VERY_LOW_SPEED); // change the conversion speed
Is something missing from my development environment? I searched through the .cpp's and .h's but I found no definitions of "ADC_VERY_LOW_SPEED"
The example code I'm trying to compile are the provided examples adc_pdb (which fails), and analogRead (which works).
adc_pdb:45: error: 'ADC_VERY_LOW_SPEED' was not declared in this scope
adc->setConversionSpeed(ADC_VERY_LOW_SPEED, ADC_1); // change the conversion speed
analogRead's version of that line compiles and functions quite well:
adc->setConversionSpeed(ADC_CONVERSION_SPEED::VERY_LOW_SPEED); // change the conversion speed
Is something missing from my development environment? I searched through the .cpp's and .h's but I found no definitions of "ADC_VERY_LOW_SPEED"