我无法使用easyPHP访问该端口。
exec("mode com15: BAUD=9600 PARITY=n DATA=8 STOP=1 to=off dtr=on rts=off");
$fp =fopen("com15", "w");
//$fp = fopen('/dev/ttyUSB0','r+'); //use this for Linux
sleep(5);
fwrite($fp,"1"); //write string to serial
sleep(5);
fclose($fp);
我想将我的COM15端口1发送到Arduino上的LED。 当我在arduino之下时,不用担心。 但是在php中,我看到连接只是没有反应。 如果有人有想法。我从昨天开始干它。 先感谢您 斯特凡