In the code below, I would expect the output to be 5000 50 repeating forever, but what is actually coming out is 5000 100.
Not sure why that is happening.
Thanks jremington, I am running this on a Teensy 3.2 so maybe that is the problem. I'll post this over at the Teensy forum and see if anyone there knows why this is happening.
The folks at the Teensy forum said the map was updated a few times lately. I had the latest stable release of the teensy software so they pointed me to a beta release and that fixed it.