owiButtonSetLED (Function) |
|
The iButton reader is supplied with an LED that can easily be used to inform the user if the iButton placed in the reader is valid or not. Example: fast blinking = access, slow blinking = no access. The LED is controlled with the owiButtonEnableLED and owiButtonSetLed functions.
The owiButtonSetLED controls the state of the LED placed inside the iButton reader. Before the state can be controlled, owiButtonEnableLED must be set to "on".
Input: state : BOOL The new state of the LED in the iButton reader.
Returns: None.
Declaration: FUNCTION owiButtonSetLed;
Example: INCLUDE rtcu.inc |