Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <?php
- include "php_serial.class.php";
- echo "Welcome to Arduino PHP Site";
- $serial = new phpSerial;
- $serial->deviceSet("COM3");
- $serial->confBaudRate(9600);
- $serial->deviceOpen();
- $serial->sendMessage("U");
- $serial->deviceClose();
- ?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment