I'm curious if there's a quick way to inhibit braking with an external pulse. I'm using a pedal torque sensor to drive ADC1 in current+braking mode on a bike. If pedaling becomes too easy, braking kicks in. I want to use the cadence output (which is 36 pulses/rev., currently on ADC2) to inhibit braking so that if there's forward pedal movement, even if torque/current goes to zero there will be no braking.
I've been thinking of analog ways to achieve this but I'd much rather keep it clean. I realize I'm probably going to end up changing the firmware but I don't want to miss a clever option. (It looks like it could take quite awhile to work through installing firmware.)
So does your setup brake when you stop pushing on the torque sensor?
I think you only need to add a few lines to check the pas status in the else statement here where the brakes are being applied.
YES. You are brilliant. Thank you.
wobble man