> -----Original Message-----
> From: Goring, Steve [SMTP:
Steve.Goring
spam_OUTBSKYB.COM]
> Sent: Thursday, July 04, 2002 6:01 AM
> To:
@spam@PICLISTKILLspam
MITVMA.MIT.EDU
> Subject: [PIC]:BAR GRAPH
>
> 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
>