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

Pages: 1
1
User Projects / Code Examples / TinyScreen code switch/ case/ break
« on: January 07, 2016, 09:51:25 PM »
Hi,
I am trying to use the switch / case statements to detect which button has been pressed on the TinyScreen.
My code runs well on an Arduino UNO.
On TinyScreen switch and case seem to work, but the break statements are not recognised. This means that the sketch runs through the following statements too instead of branching out.
I wonder if there is a general problem with this procedure on TinyScreen, or if I am just making a mistake?
I attach the section of the code showing the problem.
Thanks   Klaus


Pages: 1
SMF spam blocked by CleanTalk