Staacks / inkkeys

https://there.oughta.be/a/macro-keyboard
GNU General Public License v3.0
250 stars 54 forks source link

Example Of Images #6

Closed Rudis1261 closed 2 years ago

Rudis1261 commented 2 years ago

Is there any chance I could get an example of a full image refresh and a partial image refresh?

I am a bit confused and trying to get something usable going in golang, but I need an example of how to flash the whole screen and a partial update. What it would look like in raw serial data would be very useful.

Like a simple example of writing a centered glyph or word, and the steps to draw it :pray:

Staacks commented 2 years ago

Can you run the Python controller? If so, the easiest way would probably be logging its serial communication, as it would make it quite easy for you to create specific examples that you are interested in.

Rudis1261 commented 2 years ago

It breaks on windows, so doesn't get to that point sadly.

Rudis1261 commented 2 years ago

I bricked my leo last night trying to do a test image with the native library to test. So closing the issue

Staacks commented 2 years ago

Sorry to hear that. Can't you just reinstall a bootloader with another Microcontroller?

(Also: Why a Leonardo? Were you trying it on a breadboard?)

Rudis1261 commented 2 years ago

I believe the micro pro is just the modern version of the leonardo. Their pinout is the same and everything. At least when I plug one in, its what my arduino recognizes it as.

I got the display to work just before bricking it 🙈🙈 I had one of the images on memory and with a serial command it printed it to screen which finally worked.

And then I accidentally uploaded too large a sketch which bricked it 🙈

Rudis1261 commented 2 years ago

I will try and reinstall the bootloader with an ardiuno as isp. But I doubt it will work, looks like its completely locked up. Oh well serves me well for being impatient

amercer86 commented 2 years ago

I'm also using a Leonardo - it is labeled as a Micro Pro though