I was struggling with this too, in the end I started copying the parts of the auto-generated HRTIM stuff from main.c until I understood what he meant:I am using higher-level commands, but here is what I have whittled it down to so far to successfully...