Try
$x = 25; while ($x>0) { sleep(1); $ob->write("\xFE\x90\xFF\x00" . chr( $x * 10 ) ); $ob->write_drain; $x--; }
In reply to Re: Casting magic - how to write numbers to the serial port
by BrowserUk
in thread Casting magic - how to write numbers to the serial port
by ehud42
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |