Go Down

Topic: [SOLVED] Serial connection with Arduino + PHP on OpenWrt Router (Read 4 times) previous topic - next topic

PaulS

Quote
SOLVED!

Yay! I'll bookmark this thread for the next victim that has the same problem.

gutzz

Just found the real source of my problem.
In phpSerial class:

$ret = $this->_exec("stty -F " . $this->_device . " " . (int) $rate, $out);

Replace with:

$ret = $this->_exec("stty -F " . $this->_device . " raw speed " . (int) $rate, $out);

Go Up