Go Down

Topic: Can send requests to Arduino but not getting replies (Read 1 time) previous topic - next topic

MeLight

The weirdest thing ever. I'm using PHP on a Fedora 10 machine to communicate with my Arduino, I'm opening the serial connection using fopen('/dev/ttyUSB0', "r+"). When I'm writing to the open file the Arduino actually replies BUT I only see it in the Arduino IDE Serial Console. When I'm trying to read the file using PHP's fgets($f); I'm getting nothing (even when the IDE is closed).

Any ideas?
Thanx

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy