Got this error: expected ')'
Passing char is the problem. How to solve that ??
Thanks
Code: Select all
void setup()
{
Serial.begin(9600);
char toSend[8];
strcpy(toSend, "01234567");
sendMessagePacket(toSend);
}
void sendMessagePacket(char message[])
{
Serial.print("\r\nmessage ");
}
void loop ()
{
}