Skip to content

Instantly share code, notes, and snippets.

View tbitson's full-sized avatar

tbitson tbitson

  • Tucson, Arizona
  • 16:03 (UTC -07:00)
View GitHub Profile
/*
Spark port of emonlib - Library for the open energy monitor
Original Created by Trystan Lea, April 27 2010
GNU GPL
Modified to suit Spark Core 10 Feb 2014 Peter Cowley
***********************
Changes made:
1) ADC range changed from 1023 to 4095
2) long EnergyMonitor::readVcc() deleted and calls replaced by 3300