A
A
Andrey Gostishchev2015-07-07 15:06:05
Arduino
Andrey Gostishchev, 2015-07-07 15:06:05

How to generate .c image files for OLED display?

I tried LCD Assistaint , the pictures are crooked.
The usual array of 10x10 "pixels" takes about 1Kb.
It is desirable that the solution is suitable for the OLED_I2C library.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vanyamba-electronics, 2015-07-19
@MERCH_music

Load the image into GIMP and export it to xpm format to get a char array, where each ASCII character encodes the color of a pixel. Or in the xbm format to get an array of type uint8_t, where the color of a pixel is encoded by a byte.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question