led_out()


Outputs HIGH or LOW sigrnal to a designated LED port

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