Skip to content

Instantly share code, notes, and snippets.

View cyberluke's full-sized avatar
🏠
Working from home

Lukas Satin cyberluke

🏠
Working from home
View GitHub Profile
@phec
phec / SemonLib20.cpp
Last active January 31, 2017 23:21
Port of Open Energy Monitor emonlib to Spark SemonLib.cpp
/*
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