php serial communication in linux

前端 未结 4 1931
时光说笑
时光说笑 2021-01-12 07:02

I have installed xampp in fedora 13.I am trying to communicate with microcontroller through serial port using php serial class. My code is example.php

inclu         


        
4条回答
  •  别那么骄傲
    2021-01-12 07:45

    Could you post the lines near / related to "/opt/lampp/htdocs/xampp/php_serial.class.php on line 147"?

    I suspect that you are trying to set the device incorrectly (as Marc indicated). Either that or the port is already in use from other testing you are conducting at the same time. I'm not sure if the script you are running provides errors specific to ports you are trying to attach to already being in use.

提交回复
热议问题