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.


Messages - etSequent1a

Pages: 1
1
Thank you very much for your informative reply, I have downloaded the appropriate libs and successfully ran the sketch. ;D 8)

I would not have figured out the reason for the error for myself. So thank you again.

I would like to point out that the Real-Time Clock TinyShield Tutorial page on your site ( https://learn.tinycircuits.com/Sensors/Real-Time-Clock_TinyShield_Tutorial/ ), where I downloaded the Real-Time Clock TinyShield Arduino Sketch, Specifically states the appropriate hardware for the sketch as TinyDuino OR TinyZero. You might want to revise that to indicate the sketch is only intended for avr architecture boards like TinyDuino.

As an aside, can I still use the RTC Shield as a real-time clock, even though I have an onboard RTC on the SAMD21? if so, what libraries would I need to do so?

Also, since the TinyZero board, unlike the TinyDuino, has no Coin cell battery support, is it possible to use the RTC Shield's coin cell to power the TinyZero board on standby mode?

Thank you again for your reply.

2
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