MsTimer2, by Javier Valencia, lets you run a function every millisecond http://www.pjrc.com/teensy/td_libs_MsTimer2.html
Share this library with your friends on your favorite profile:
This library and its examples were tested on 2016-06-11 with common Arduino boards. For more detailed information about the test results, please look at each example's comments
Share this library with your friends on your favorite profile: