"Battery voltage

Started by sonic1, October 23, 2019, 09:36:01 PM

Previous topic - Next topic

sonic1

*
Newbie
Posts: 2
Logged
When compiling the Battery Voltage reading sketch, I get SYSCTRL was not declared in this scope error. Is there a newer version sketch then the 7.3.18 version, or how do I fix this?

Thanks

lennevia

Administrator
*****
Hero Member
Posts: 437
Logged
I didn't receive that error when using a Rev4 TinyScreen+. Is there any more information you can give on the error?

cptwinder

*
Newbie
Posts: 3
Logged
@sonic1

You didn't verify you were using the TinyScreen+ or one of the other TinyDuinos. If you are using this guy, https://tinycircuits.com/collections/processors/products/tinyduino-processor-board it has a different processor than the TinyScreen+ and that sketch won't work.

I am currently using this library to read the Vcc voltage on the TinyDuino, https://github.com/Yveaux/Arduino_Vcc.

Hope this helps!

SMF spam blocked by CleanTalk