led_out()


在指定LED端口输出指定逻辑

Description

void led_out(int $pin, int $type)

Parameters

Return Value

none

Example

<?php
include "/lib/sd_101.php";
led_setup(LED_A, "out");  // Setting the LED_A to input
led_out(LED_A, "LOW");    // Output LOW to LED_A
?>

See also