Sustaingineering / Pump-Firmware

Particle Electron and ESP32 firmware that collects data from sensors and sends it via peer-to-peer LoRa and Particle GSM. The data is recorded on a micro SD card with timestamps.
3 stars 2 forks source link

Add analog max voltage to PinConfig #71

Closed tarek20501 closed 3 years ago

tarek20501 commented 3 years ago

ESP32 has 3.9 analog max voltage while Particle has 3.6

This means we have pass this number from PinConfig (because it is specific to each board) to current and voltage classes constructors.