-
On
- This turns the LED on.
ANSIC prototype: void On(void)
-
Off
- This turns the LED off.
ANSIC prototype: void Off(void)
-
Neg
- This negates/toggles the LED
ANSIC prototype: void Neg(void)
-
Get
- This returns logical 1 in case the LED is on, 0 otherwise.
ANSIC prototype: byte Get(void)
- Return value:byte - Status of the LED (on or off)
-
Put
- Turns the LED on or off.
ANSIC prototype: void Put(byte val)
- val:byte - value to define if the LED has to be on or off.
Note: Some methods can be implemented as macros.