I am still very vague as how modulus works in a program, i have read the reference & wiki, but it hasn't sunk in.

I have no code, but here is something ish.

`int counter = 0;`

int overflow = 0;

void setup(){ }

void loop()

{

if counter >= 32767 ?? // mod % 200, add the remainder back into counter, take 32600 divide by 200 & add to overflow

if counter <= -32767 // mod % 200, add the remainder back into counter, take -32600 divide by 200 & add to overflow

dosomething();

counter = counter++;

or

dosomethingelse();

counter = counter--;

That's roughly what i was thinking of doing, somehow?