I'm looking for a TimerOne.h library or similar that works with the new SAMD nanod. I want to do variable speed control of 2 stepper motors in the timer whilst doing some maths stuff (IMU/PID) in the main loop which sets the appropriate stepper speed.
TimerOne.h isn't for SAMD architecture - I tried a couple of the samd timer libraries e.g. avdweb_SAMDtimer (which uses Adafruit_ZeroTimer.h) but had problems with a missing type 'tc_callback_t'.
Anyone got any examples of how to do this sort of thing? I've seem some tutorials on using low level timer interrups (ISR functions with prescalers) but I don't think I'd get this working without knowing all the freaky memory addresses specific to the nano.
I love the hardware on these new boards but I wasn't expecting things like timer1 to be unavailable.