Open EliRibble opened 1 month ago
Turns out the failure is in lcd_a.go
when reading in the 6 bytes used for the revision.
Okay, I got the turing-smart-screen-python running and talking to my screen, then figured out what it was doing. Turns out that while it can read 6 bytes for the revision, my screen returns no bytes at that point and the applicable code uses an else:
block because the response
is an empty list of bytes (b''
).
I'll make a PR with what I believe are the right changes.
I'm running the simple example with a EDIY 3.5 inch lcd connected. got the following output:
I'm assuming I either have a clone device operating out-of-specification or it's some device type that was not originally considered.
I'm going to see if I can get it sorted.