Is it a monochrome display/mode? Here is what it sounds like to me: Byte 0 of display RAM is 8 pixels, 0,0 to 0,7, byte 1 is 1,0 to 1,7, etc. Drawing a line from 0,0 to 0,240 sets bytes 0 to 239 to 0x01 Drawing a line from 1,0 to 1,240 sets bytes 0 to 239 to 0x02, erasing=20 the first line. Drawing a line from 2,0 to 2,240 sets bytes 0 to 239 to 0x04, erasing=20 the second line. .. .. Drawing a line from 7,0 to 7,240 sets bytes 0 to 239 to 0x80, erasing=20 the seventh line. Drawing a line from 8,0 to 8,240 sets bytes 240 to 479 to 0x01, leaving=20 the eighth line intact. etc. Kerry Mark Hanchey wrote: > I have a 320x240 glcd with an epson s1d13700 display controller that is=20 > paired with a 18lf45k200 chip. The problem I am having is that whatever=20 > I display graphically only shows every 7/8th pixel. If I draw pixels=20 > using a loop in the code to draw from 0,0 to 0,240 and increment that to= =20 > 1,0 to 1,240 so that it forms lines on the display ,the lines are drawn=20 > properly but the only lines on the display are every 8th row. I can see=20 > the lines being drawn on the display but it looks like they are being=20 > erased as soon as they are drawn , except for every 8th row. > > I tried different libraries, so far it does the same thing whether I use= =20 > swordfish basic, CCS, or Microchip c18. This was using sample code I=20 > found on the net and not code I wrote myself so I can't see how code can= =20 > be the problem. > > More what I am focusing on is the 18LF45k22 chip is running off a 3V=20 > supply and the display is running off 5.0V supply. I'm wondering if=20 > there might be some problems with logic levels or maybe it is a timing=20 > issue with this specific pic chip. I 'm doubtful on the logic levels=20 > because the commands are clearly getting through to the display because=20 > it can display text and draws the lines, they just don't seem to remain=20 > on the display. > > Thanks > Mark > > =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .