Graphic LCD Library for SED1520 controllers

Hi to everyone!

Yesterday I uploaded v0.1 of a library for GLCDs wit SED1520 controller, which is an Arduino port of the library found at http://en.radzio.dxp.pl/. Unfortunately I put it into Software--> Development, so as I think it would better fit in here, I open a new thread.

v0.2 is now available: http://rapidshare.de/files/47600923/SED1520GLCDv0_2.zip.html

From the readme.txt:

  1. To be done
  • seek and destroy remaining bugs
  • someday back to Port manipulation (parallel to this simpler code)
  • implement some kind of line break for the WriteString()-function
  • allowing font selection
  • implement a 4-bit mode

  1. Version 0.2 changes:
  • Implemented WriteChar() and WriteString() for easy message writing (see documentation above) Due to problems using PROGMEM inside the library, the compiler throws out a warning, works nonetheless (but is perhaps a bit RAM-hungry yet)
  • Implemented graphic functions from original code (Rectangle(), Circle() and Line()
  • Font integrated (but moving it to PROGMEM would be nice)
  • Fixed the keywords colouring
  • Fixed a bug in SetPixel() which made a whole byte turn on or off instead of a single pixel
  • Example Sketch now included (Arduino IDE 016)

The readme contains all info about the functions, how to use them etc.

This library was not ported for speed, but for readability to beginners like me to understand how a GLCD works (especially this type of controller) and pinout flexibility.

So I know that Port manipulation would have been faster, but it's for learning. Translating it back to using Port manipulation is on the agenda, but I will try to always keep a more readable version.

I think I will separate the graphics functions from the rest in the next release, so if you just need text, you get away with a smaller program size.

Greetings, Otacon2k

Hi Otacon2k. I'm tryng to get work a Graphic LCD with SED1520 with no success. I've tried to download your files posts from rapidshare but the files has been deleted. So, I'll really appreciate if you could post it again or send me the library to figure out my self how to make it work. Thanks in advance!!
Damian