Pages: [1]   Go Down
Author Topic: Can send requests to Arduino but not getting replies  (Read 1069 times)
0 Members and 1 Guest are viewing this topic.
The Holy Land
Offline Offline
Jr. Member
**
Karma: 0
Posts: 60
Arduino stones
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: