Interfacing w/ Software on the Computer
(Read 988 times)
Feb 18, 2013, 05:21 am
: Feb 18, 2013, 05:50 am by playagood
I am trying to communicate
through serial with the Arduino.
All the tutorial requires the php serial class. I downloaded the code , but where do I put it? In my webserver folder(ex /www/Arduino/php_serial.class.php)?
Do I add the folder where it is located as an environement variable?
Do I put it in a php program folder?
Feb 18, 2013, 05:48 am
Find an answer: just include it in my project folder where the index.php is.
index.php will request at the beginning of the script.
Newbie I am.
Location: Seattle, WA USA
Seattle, WA USA
Feb 18, 2013, 11:28 am
PHP is great for writing to the serial port, on Windows, Linux, and Macs.
PHP is great for reading from the serial port, on Linux and Macs. It can't, on Windows.
On Windows, it may not be the best choice.