Read this before posting a programming question ...

AWOL:
Sometimes, like functions with references as parameters, it doesn't work too well.

I once did this:

void timer(unsigned long interval, void (*g)()){
  //...
}

and got compiler errors unless I write the function before it is used.

1 Like