You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason the commands that ArduinoPi sends out to the Arduino are not being executed by the arduino. If I try to turn digital pin 8 High the Arduino does nothing. I know the Arduino is reading the data because I get a successful POST error handle:
{"state":"success","result":null}
I modified the writedigital function in arduino_pi.class.php to troubleshoot the message that it sends to the arduino by var_dumping the $cmd being sent:
string(7) "@8,255:"
This string seems correct to me, but the arduino is not reacting correctly to it. Also, when the arduino receives the command, I think it resets. Do you have any idea on why it would be doing this?
Thanks for posting this library! I believe it is going to be really helpful to my projects!!
The text was updated successfully, but these errors were encountered:
Hi Jan,
For some reason the commands that ArduinoPi sends out to the Arduino are not being executed by the arduino. If I try to turn digital pin 8 High the Arduino does nothing. I know the Arduino is reading the data because I get a successful POST error handle:
{"state":"success","result":null}
I modified the writedigital function in arduino_pi.class.php to troubleshoot the message that it sends to the arduino by var_dumping the $cmd being sent:
The var_dump shows that $cmd is equal to this:
The text was updated successfully, but these errors were encountered: