TinyCircuits Forum

TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: sonic1 on October 23, 2019, 09:36:01 PM

Title: "Battery voltage
Post by: sonic1 on October 23, 2019, 09:36:01 PM
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
Title: Re: "Battery voltage
Post by: lennevia on October 24, 2019, 02:33:48 PM
I didn't receive that error when using a Rev4 TinyScreen+. Is there any more information you can give on the error?
Title: Re: "Battery voltage
Post by: cptwinder on November 26, 2019, 04:05:12 PM
@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!