David Van Horn wrote: >>I see no way to differentiate between braking and going downhill. Any >>ideas ? >> >> > >Good luck. That's one of those basic physics problems. You can't >differentiate gravity from acceleration (negative, in this case). > >You can measure pressure in the brake lines though, which should do the >job. > > > > > > Surely you are braking when the brakelight is turned on, which you can detect, since you are attached to the brakelight - or am I totally out to lunch? David -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist