Open jmsiefer opened 3 days ago
In order to set a single "pixel" you need to use what the app calls "Graffiti" mode.
You specify a pixel number and then it's RGB colour, as well as a "mode" (which from memory is 0,1,2 for steady, fade & flash - or something like that). Look in this file at the section which starts "in to graf mode" - the protocol is decoded there.
That should allow you to write an individual LED.
To reverse engineer the protocol I was using the Android debugging options built in to my phone, but Google are making it harder and harder to use for some reason. The old process is described in this blog post: https://www.whizzy.org/2023-12-14-bricked-xmas/
These days I find it waaaaay easier to use an nRF52840 dongle. They cost about $10 and integrate directly with Wireshark. It's really easy!
Check out this issue for some links to get you started if you're interested: https://github.com/8none1/idotmatrix/issues/1#issuecomment-2424862730
A giant THANK YOU for posting your code. I'm having a heck of a time just pulling a BT log, which should be the simplest of things, but whatever device I try it with just don't work for some reason.
What device did you use in getting the BT traffic with?
Any idea on how I get independently address the LEDs? I used the attached script to connect to the light strip, but I'm just unable to get single lights to change color, which I know works because the app will allow me to do it.
MUCH APPRECIATED!! -Josh
-----START CODE-----