Open scottlu opened 2 years ago
@scottlu did you ever figure this out?
@scottlu I got this working.
To do it, you have to import the device/avr
package and set the values of several registers on your own. I followed this:
The registers are pretty much named 1-1 with the registers mentioned in the tutorial.
The main difference from the example code is that setting the count to a 16 bit value requires setting the hi and lo (H and L) 8-bit registers, rather than one 16-bit value
Thanks.... looks good.
I'm looking for sample code for setting a timer interrupt on an Arduino Uno R3.