Opening I2C


To open I2C, pid_open function is required.

<?php
$pid = pid_open("/mmap/i2c0");      // open I2C
?>

※ Refer to Appendix for detailed I2C information.