Opening SPI


To open SPI, pid_open function is required.

<?php
$pid = pid_open("/mmap/spi0");       // open SPI
?>

※ Refer to Appendix for detailed SPI information.