Skip to content

Instantly share code, notes, and snippets.

@raphaeldealmeida
Created October 8, 2011 16:48
Show Gist options
  • Save raphaeldealmeida/1272532 to your computer and use it in GitHub Desktop.
Save raphaeldealmeida/1272532 to your computer and use it in GitHub Desktop.
Arduino
<?php
$port = fopen('/dev/ttyUSB0', 'w');
fwrite($port, 'A');
fwrite($port, 'a');
fclose($port);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment