picture on LCD

Is there a way to display some simple pictures on the LCD?

glyn.hudson's picture

Re: picture on LCD

Yes it is, iv not done iv myself but iv heard of people successfully using http://www.gabotronics.com/tutorials/run-length-encoding-for-lcd.htm. Try searching for graphics on ST7565 with Google of maybe the jeelabs forum. Let us know how you get on.

bramper's picture

Re: picture on LCD

 

I found it and here's the code:
 
 
#include <GLCD_ST7565.h>
#include <JeeLib.h>
 
const byte picture[16*64] PROGMEM = {
 
//here comes the HEX code of the bitmap
 
};
 
GLCD_ST7565 glcd;
 
void setup () {
  glcd.begin(0x18);
  glcd.backLight(255);
  
  glcd.drawBitmap(0, 0, picture, 128, 64, WHITE);
  
  glcd.refresh();
}
 
void loop () {}
glyn.hudson's picture

Re: picture on LCD

Nice, I'll give it a test. Here's another tutorial I've come across: http://www.hobbytronics.co.uk/bmp-lcd-converter

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.