> thought it would be nice to show > the speed as a bargraph ? > > My problem, is that I cannot think how to get started Hello, I have done this for a Volume display on my car MP3 player. I shall assume thet you know how to control the disply and write characters to it. 1) Define some special characters. These will go in the User Defined ares of the LCD module, and can be used by sending the appropriate character code. The characters should represent 1 and 2 vertical bars. Each character cell on the LCD is 5 pixels wide, and each cell is seperated from its neighbour by a 1 pixel gap. If you define a character that is like this: 00011 00011 00011 00011 00011 00011 00011 or this 11000 11000 11000 11000 11000 11000 11000 (depending on which way your bargraph goes) and this 11011 11011 11011 11011 11011 11011 11011 then you can represent 1/2 cell steps in your bargraph. Alternatively you can define a solid block and just have whole cell steps. 2) Think about how you will map your speed to the bargraph. You have 16 character cells. If they are all full then you will be representing full speed, or 100%. If they are all blank you will be representing 0%. Each cell represents 6.25% when full, or 3.125% when half full, unless you put characters like 0 and 100 at either end. 3) Figure out the maths so that when you have a number which is to be displayed on the bargraph you calculate how many full cell characters you need, and whether the last one is a half cell or blank. 4) Send the appropriate characters to the screen. Does this help? Andy -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body