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 - gregweber

Pages: 1
I made some minor changes and put it on github here:

Thanks, that code example is super helpful! It seems to work.

Can you put the code on github? That way it is easy to stay up to date with changes and the community can help maintain the examples.. You can still post a download link here from github if you want to do that.

If I look at the schematic [1], it seems that the buttons are connected to pins 37, 38, 47, 48.
However, TinyScreen.h has the pin numbers as 19, 25, 30, 31 [2].
I am wondering if the TinyScreen library is outdated or if that is written for the shield instead of the +?


First make sure you are using a USB cable that actually transmits data. Many cables you have around the house now are only for charging devices.

One thing you can always try is giving your board a reset: this will load a bootloader that will connect to the computer. Otherwise it is easy enough for software initialization in your program to end up disrupting the USB communication.

What .h files are you importing into the file?

TinyDuino Processors & TinyShields / TinyScreen+ interrupts and sleeping.
« on: November 10, 2019, 11:46:54 PM »
Is there any working example code for putting the TinyScreen+ device to sleep and waking it up on button press?

The existing example code for the watch project doesn't seem to work (I think it is not up to date for the latest board revisions). I had to delete all the Bluetooth references since I am not adding a Bluetooth shield. With a few minor changes the program then works fine as long as I have it avoid going to sleep.

Pages: 1
SMF spam blocked by CleanTalk