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

#1
I have the answer :)

getButtons return a byte
the last 4 bites give the buttons state

bit 0 for left down
bit 1 for left up
bit 2 for right ip
bit 3 for right down

you get any combination when several buttons are pressed at the same time

enjoy !
#2
Hi everyone,

the tiny screen library provides the method getButtons() which returns a uint8_t

is it possible to access to each button state individually ?
if yes how ?

thanks
SMF spam blocked by CleanTalk