adc->startSynchronizedSingleRead(pinLicht,ADC_INTERNAL _SOURCE::TEMP_SENSOR); -> Erro
Hallo,
i wanted mesure the chip Temperatur of my Teensy 3.6 and I found:
adcErr = adc->startSynchronizedSingleRead(pinLicht,ADC_INTERNAL_SOURCE::TEMP_SENSOR); // produces Error : TEMP_SENSOR
result = adc->readSynchronizedSingle(); //
uint Temp = result.result_adc1 ;
Serial.println(Temp,HEX);
Temp = adc->analogRead(ADC_INTERNAL_SOURCE::TEMP_SENSOR); // no Error schows correct Result
Serial.println(Temp,HEX);
But I need the Syncronized SingleRead for my ISR.
0x1A as argument produces full Scale
Can You help ?
Lothar
Hallo,
i wanted mesure the chip Temperatur of my Teensy 3.6 and I found:
adcErr = adc->startSynchronizedSingleRead(pinLicht,ADC_INTERNAL_SOURCE::TEMP_SENSOR); // produces Error : TEMP_SENSOR
result = adc->readSynchronizedSingle(); //
uint Temp = result.result_adc1 ;
Serial.println(Temp,HEX);
Temp = adc->analogRead(ADC_INTERNAL_SOURCE::TEMP_SENSOR); // no Error schows correct Result
Serial.println(Temp,HEX);
But I need the Syncronized SingleRead for my ISR.
0x1A as argument produces full Scale
Can You help ?
Lothar