On 06/04/2011 17:43, John van der Putte wrote: > The display i have is: HG1286418C > As far as I know the display has a S6B0107/S6B0108 (KS0107B/KS0108B) > controller. > There is jalV2 code for that chipset works at least on 16F and 18F. The=20 library does the CS for two halves You often need a -VE supply for contrast pot. Some modules have on board=20 VEE generator (ICL7660 or similar). Without at least slightly negative volts you don't even see the pixels=20 at power on. I did also library in JAL for scalable analogue clock face, X Y graphs,=20 different size fonts, arbitrary lines, circles, rectangles, "buttons"=20 etc. block & pixel addressing without Shadow RAM Pixel mode reads a byte, modifies it and re-writes. The font uses byte at a time writes. See the google code JAL Libraries. Here is some out-of-date code (the GLCD libraries of JAL are now a bit=20 different http://www.techtir.ie/node/1003419 http://www.techtir.ie/software/jal http://www.techtir.ie/node/1003421 An application http://www.techtir.ie/node/1003355 Old version of clock. I have a newer one someplace http://www.techtir.ie/node/1003406 You can easily "translate" this to C or Assembler. Code tested on 16F877A and 18F4550 with no changes. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .