TinyCircuits Forum

TinyCircuits Products => TinyDuino => Topic started by: dreckbot on September 13, 2020, 05:54:07 PM

Title: TinyScreen Smart Watch Compiler issues
Post by: dreckbot on September 13, 2020, 05:54:07 PM
Heya folks, I'm kind of a newbie at this kind of programming and I'm having trouble with uploading a sketch onto the watch to continue. The easiest parts, of course have been the drivers and updating them and getting my computer to recognize the device but the IDE is throwing errors and I'm not comfortable going any further. I've included a screenshot of the errors. Am I missing something? Is there a library that is wrong? I went to get the updated library files on github but nothing seems to work.

Please, I'm really inexperienced and I just wanted to prove to myself I could do this and any help is greatly appreciated.

Title: Re: TinyScreen Smart Watch Compiler issues
Post by: lennevia on September 21, 2020, 02:55:42 PM

Sorry to hear about the errors. The first thing I would recommend is verifying you are able to program the TinyDuino using the TinyDuino getting started tutorial: https://learn.tinycircuits.com/Processors/TinyDuino_Setup_Tutorial/

The errors you have mean that there is an issue uploading the program to the processor board. The usual culprits are:
0. The micro USB cable you are using does not have the data wires to be able to program your TinyDuino - many micro USB cables that are used as chargers for electronics only have the power and ground wires. You can try using a few other cables if you have them.
1. The processor power switch is OFF and needs to be flipped to ON.
2. The Tools selections in the Arduino IDE aren't the correct selections for the processor you are using. You can find the correct Tools selections on the getting started page I linked above. Make sure you have the "3.3V and the 8MHz" option selected!

I hope that helps!

Let me know if you are still getting errors and if they change.


Title: Re: TinyScreen Smart Watch Compiler issues
Post by: dreckbot on September 27, 2020, 05:21:53 PM
I was able to complete the basics of setup for the screen and the board itself. The blink test worked and I did see some lines and shapes on the tinyscreen however, when I try to upload the smartwatch sketch I get the error:

SmartWatchAndroidST:13:6: error: 'i' does not name a type
exit status 1
'i' does not name a type