search

Home  >  Q&A  >  body text

Can PHP achieve serial port real-time communication? Ask for detailed methods

Can PHP achieve serial port real-time communication? I have found many, many examples on the Internet. They are all writers. The code does not work at all, or it is mainly for LINUX. Is there anyone who has done similar projects who has detailed solutions and pointers? Thank you very much!

phpcn_u5220phpcn_u52202744 days ago1230

reply all(2)I'll reply

  • phpcn_u5220

    phpcn_u52202017-06-19 13:05:48

    The echo is too slow. For a 10-digit number, you need to wait for 1 minute to return it. It cannot be displayed dynamically, and it will not be read when it is looped. This is not what I want. It is no different from the dio on the Internet, and this framework is too big. Is there a simple and reliable method?

    reply
    0
  • PHP中文网

    PHP中文网2017-06-19 09:02:08

    https://www.oschina.net/p/ohsce Of course you can OHSCE

    reply
    0
  • Cancelreply