LowPowerLab Forum

Hardware support => Moteino => Topic started by: parkyjimbo on November 08, 2013, 08:34:02 AM

Title: WattMote.ino Sketch
Post by: parkyjimbo on November 08, 2013, 08:34:02 AM
I believe the code from the Github repository https://github.com/LowPowerLab/WattMote WattMote.ino sketch has incorrect includes :-
#include <avr\sleep.h>
#include <avr\delay.h>
They should be :-
#include <avr/sleep.h>
#include <avr/delay.h>
At least I could only get it to compile using the later style of includes with forward slashes.
Hope this helps someone save some time.
Title: Re: WattMote.ino Sketch
Post by: Felix on November 08, 2013, 11:50:54 AM
Thanks, it actually compiles both ways on Windows 7, Arduino 1.0.5. So I changed those instances to "/".