返还指定LED端口的状态
void led_in(int $pin)
HIGH时返还1, LOW时返还0
<?php include "/lib/sd_101.php"; led_setup(LED_A, "in"); // Setting the LED_A to input $state = led_in(LED_A); // Reading the LED_A ?>