Guys,
for the below code, I am getting an error which says "Function Not Defined". I am unable to get what should I include to make it run. help will be really helpful.
<?php
$fd = dio_open('/dev/ttyS0', O_RDWR | O_NOCTTY | O_NONBLOCK);
dio_close($fd);
?>