You have chosen to sponsor your bid up to a maximum amount of .
I am just looking for some lines of code for my project.
I need a tachometer on my exercise bike, and would like to use a magnet and 6 hall sensors.
The pedal with the magnet passes in front of the hall sensors that are connected to an arduino duemilanove.
The speed would have to be updated at least 3 times per second in a variable, and be negative if pedaling backwards
I am struggling for when the bike slows down, suddently stops, or goes backwards, so would like someone to write it for me
It does not have to be long,