Re: using millis() for timing

Whandall:

void doFunctionAtInterval( void ( *callBackFunction )(), unsigned long *nextEvent, unsigned long interval ) {

callBackFunction();
  }
}



Why does the call compile and run ok at all?
I would have expected



(*callBackFunction)();

Both syntaxes are allowed, and will do the same thing. There's no problem using either.