I'm looking to perform a periodic task every 20ms. Previously, using an Arduino Mega, I setup a 20ms ISR by setting values in the timer registers (prescaler, timer compare mode, etc.) and performing a timer compare.
I can't seem to find any info on how to perform this function in an Arduino 101. I tried the existing Mega code, and obviously it doesn't work, as the timer registers are not the same. Also can't seem to find how many timers are even available for use, nor a datasheet.
Any idea on how to accomplish this?