this is my code.
Works only if i fill the buffer[] hard coded and delete the second and third line of code!
char buffer[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; String commandStr = server.arg("command"); // 250,33,2,20,1,185,0,25,150,248 buffer[] = commandStr; SoftSerial.write(buffer, sizeof(buffer));
With this code an error appears.”error: #29: expected an expression”
Can somebody help, please?
Send 10 bytes over softserial received from client by http get!