Banbury / pxt-calliope-oled96

MakeCode blocks for Grove OLED Display 0.96".
MIT License
1 stars 6 forks source link

Displaying Bitmaps #2

Open FelixHauser opened 5 years ago

FelixHauser commented 5 years ago

Hi,

Using the Grove OLED display on my Arduino, I could display a logo using a bitmap transformed to code. I haven't find the way to do the same using the Calliope. Is it at all possible? Is so, how?

Thanks in advance

Banbury commented 5 years ago

It is definitely possible.

I don't know what you used on the Arduino, but the principle is the same. The display was clearly designed to show text and not images. So the image needs to be encoded in 8x8 bit chunks, that are sent to the display memory just like characters.

Since the image has to be stored in the already meagre RAM of the Calliope, I felt there was not much use for image functions.

But feel free to contribute these functions.