Abdurraziq / ZMPT101B-arduino

Arduino library for ZMPT101B voltage sensor.
MIT License
67 stars 32 forks source link

Changes to work correctly with ESP32 #8

Open leech001 opened 3 years ago

leech001 commented 3 years ago

add ESP32 ADC range; add funtion calculatesSensitivity() to calculates sensitivity; change README; correct function calibrate() for many samples;

Abdurraziq commented 3 years ago

Hi @leech001, thank you very much for your efforts in improving this library. Before I marged your pull request, can I get confirmation from you that you have tested this library before and it works on esp32? Unfortunately I don't have an esp32 board to test it. Sorry for my bad english.

leech001 commented 3 years ago

Hi. Yes I checked the library on ESP32. I also specifically made most of the changes through the constructs

if

define

2021-10-09_12-11-30 photo_2021-10-09_12-12-23

abdalrahman-seliem commented 2 years ago

Could you approve this pull request please ?