Hi Phil,Phil_G wrote: ↑17 Feb 2018, 18:26 For anyone who wants to make an ultra simple servo tester project, here's a framework that continuously runs all the pulsing and timing in the background - the whole servo timing and pulse generation is completely isolated from any code you write in your loop() section.
I've been looking at this again. In one or two sketches I composed a while ago, I used the Servo.h library and writeMicroseconds().
I understood that this does the same thing you are describing, i.e. once you load a number generated by the main loop into the function, it will repeat the equivalent pulse output ad infinitum until you change the number again.
Can you tell me where the difference with your code example is or what the advantages are? One advantage I am able to read from your code is that you can set the length of the pulse repeat interval.
Cheers,
Max.