TinyCircuits Forum
TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: KJinator on May 11, 2018, 01:08:17 AM
-
I have been trying to run the RTC example using the TinyScreen+, and my computer cannot find avr/sleep.h and air/power.h. Is this due to the processor type, meaning that the RTC cannot be used with a TinyScreen+?
-
I have been trying to run the RTC example using the TinyScreen+, and my computer cannot find avr/sleep.h and air/power.h. Is this due to the processor type, meaning that the RTC cannot be used with a TinyScreen+?
I had a similar problem with an older TinyScreen. I am guessing you have made sure the files are in the correct folders?
Try changing #include <sleep.h> and #include <power.h> to #include "sleep.h" and #include "power.h" (these lines should be located near the top of the Arduino file.
This worked for my older TinyScreen. I don't know why, so someone feel free to explain.