Hello
I just started working on cruise control for e-bike.
Plan is to mount it in between throttle and controller. in case one signal from throttle will go straight to controller (your code will be perfect for that), case two- when CC button is pressed - cruise control is on - arduino will...