Hi,
Sorry noob question for anyone how knows the Trellis.
I have an Adafruit 4x4 trellis and want to identity when a particular pattern of LEDs are lit. Is it possible to read the LED status using the trellis.isLED function, load the values into an array and then compare the values? or are there any other methods to achieve this?
I have 'googled' but can't seem to find any examples anywhere.
Any guidance would be really appreciated.
Many thanks
An Adafruit ignorant member guessing....
Can't You look at the unit sending the code to the Adafruit?
Hi,
Thanks for replying
The trellis.isLED function interfaces to the hardware (if I understand your reply correctly) I'm not clever enough to access the HW directly so need to used the library provided.
I have bodged my code using the worlds ugliest && statement so now have a workaround.
You found a work around. Good work!
But is not Your controller sending the data to the hardware using those libraries? Catching that data being sent was my quess.