1

(how) Can I execute a PHP code, that will stay a live and listen to a serial port?

Currently I use python and other stand-alone environments.

Please note: my problem is not reading the port, but keeping the connection a live

yossi
  • 3,090
  • 7
  • 45
  • 65

1 Answers1

1

I only read about it a long time ago, but this should do what you want to: http://pecl.php.net/package/dio

Azeruel
  • 210
  • 3
  • 10