[simpits-tech] Arduino victory!

dabigboy at cox.net dabigboy at cox.net
Tue Aug 7 16:51:48 PDT 2012


---- geneb <geneb at deltasoft.com> wrote: 
> 
> What I did was to use a series of translation functions depending on where 
> I needed the needle to be.  For example, if you look at the gauge face in 
> the video, you can see that the tick marks aren't spaced evenly round the 
> face.  I just coded it such that it would use the right translation range 
> given the input value.  That guaranteed that no matter what I fed it, the 
> needle would be in the right position.

Cool, that's more or less the direction I'm headed I think. It's just a matter of spending some time playing with the gauge and experimenting with numbers.

Matt


More information about the Simpits-tech mailing list