RoboJackets / roboracing-firmware

Firmware for RoboJackets RoboRacing Team
https://robojackets.org/teams/roboracing/
Apache License 2.0
1 stars 1 forks source link

Use interrupts for PWM #13

Open joe-spall opened 6 years ago

joe-spall commented 6 years ago

There is faster/more reliable way to handle PWM inputs on Arduino using interrupts instead of PulseIn. http://www.benripley.com/diy/arduino/three-ways-to-read-a-pwm-signal-with-arduino/ For info. Might need to check pins which this would work for.