Hi list ... Hopefully someone will be able to help me out here, I am controlling the speed of a remote DC motor using a simple Hex switch. ( 16 discrete speed steps ( PWM )) I could have used either an ADC or rotary encoder to get finer resolution, but in this application it is not necessary, in fact on or off would be just fine. I also happen to have a 1 line 16 character lcd and thought it would be nice to show the speed as a bargraph ? My problem, is that I cannot think how to get started - I have had success in the past with CGram so I was thinking maybe increment a register and light a segment on the lcd per speed step, unfortunately I now have a mental block as to actually implement this. So, if someone could outline the steps that would be needed that would be great .. Thanks Steve ********************************************************************** Information in this email is confidential and may be privileged. It is intended for the addressee only. If you have received it in error, please notify the sender immediately and delete it from your system. You should not otherwise copy it, retransmit it or use or disclose its contents to anyone. Thank you for your co-operation. ********************************************************************** -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body