mitra42 / frugal-iot

A platform to enable affordable sensor networks
https://drive.google.com/drive/folders/1VRrBSEATjN9i-Fx3X48nKeh_lJCg1sto?usp=sharing
1 stars 2 forks source link

analogueReference on ESP32C3 and other boards than ESP8266 #60

Open mitra42 opened 6 days ago

mitra42 commented 6 days ago

Analogue behavior is very board dependent.

analogReference does not appear to be defined on ESP32C3 and maybe other boards see https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/ for some other boards

Code that depends on this is in sensor_analog.h and sensor_analog.cpp

Will certainly require some hardware testing to get it right.