I'm hacking away at the WebDuino Web_Buzzer example.
What I want to do is call a function from the command handler that passes server as a parameter.
I assume I've just failed to understand C pointers.
If I add:
void outputStatus()
{
Serial << "outputStatus";
}
and call it it works,
if I add:
void outputStatus(WebServer &server)
{
Serial << "outputStatus";
}
and call:
outputStatus(server);
I get the misleading error.
Can someone tell me what I've got wrong - and if you know an excellent tutorial please tell me about it!
Many thanks,
Glyn