oled-exp draw image format?



  • I've been googling (and trying to study the code for putting an image on the OLED screen, and I can't for the life of me figure out

    • what the .LCD format is
    • how I can convert an image to that format and put it in a project for later loading

    Here's what I've tried so far:

    Can't find anything useful on the community, or the documentation, or in code (am I stupid or is this information not readily available?). How do i convert images to a format that oled-exp can use?



  • Well, partial success: I can grab the converted files from /tmp when uploaded via the oled app. But that seems kind of like a chore.



  • If you take a look at the github source of the i2c-exp-driver, there is a subdirectory called bmp2lcd. In there is the javascript on how to create the image (looks like a simple packed binary stream).


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.