openenergymonitor / EmonLib

Electricity monitoring library - install in Arduino IDE's libraries folder then restart the IDE
openenergymonitor.org
GNU Affero General Public License v3.0
584 stars 418 forks source link

Update EmonLib.cpp #58

Closed mc-hamster closed 4 years ago

mc-hamster commented 4 years ago

Replaced magic number of ADC counts (1024) with ADC_COUNTS. The original source did this for support of the Arduino Due but didn't finish the work.

mc-hamster commented 4 years ago

Closing this pull request. I forgot to add a file. Will resubmit.