Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - etSequent1a

Pages: 1
1
I downloaded the Real-Time Clock TinyShield Arduino sketch from this site ( RTC_TinyShield_example.zip ) and tried to run it on my TinyZero board + Real-Time Clock TinyShield. I'm using an Arduino IDE ver. 1.8.13 and so far have not been able to compile the sketch as downloaded from this site.  I am getting the following error message:

RTC_TinyShield_example:20:10: fatal error: avr/power.h: No such file or directory
 #include <avr/power.h>
          ^~~~~~~~~~~~~
compilation terminated.


On the include line:

20 #include <avr/power.h>

Even when I verified the file power.h is included with the downloaded sketch in the specified "avr" sub folder.

Is there a compatibility issue in newer versions of the Arduino IDE? should I make a change to the code of the sketch in order to make it work or maybe the settings of the Arduino IDE?

This is frustrating. I would appreciate if someone could come up with a solution. I'll provide any information needed. Thanks in advance.

Pages: 1
SMF spam blocked by CleanTalk