EDF - OnePIC MCU  v1.1.0
LED
Collaboration diagram for LED:

Functions

void EDF_LEDInit ()
 init all LEDs by turning them all OFF
void EDF_LEDSet (EDF_LED d)
 set a single LED
void EDF_LEDClr (EDF_LED d)
 clear a single LED
void EDF_pot2bar (uint16_t n)
 Displays POT value on the LEDs.
void EDF_LEDBarSet (uint8_t bf)
 light up the bar display

Function Documentation

void EDF_LEDBarSet ( uint8_t  bf)

light up the bar display

Displays a bit pattern on the LEDs.

Parameters:
bfThis displays hex values on the LED bar

Definition at line 102 of file OnePIC_led.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void EDF_LEDClr ( EDF_LED  d)

clear a single LED

Turns off an LED.

Parameters:
dA specific LED to turn OFF

Definition at line 74 of file OnePIC_led.c.

Here is the caller graph for this function:

void EDF_LEDInit ( void  )

init all LEDs by turning them all OFF

Initializes the LEDs.

Definition at line 16 of file OnePIC_led.c.

Here is the caller graph for this function:

void EDF_LEDSet ( EDF_LED  d)

set a single LED

Turns on an LED.

Parameters:
da specific LED to turn ON

Definition at line 65 of file OnePIC_led.c.

Here is the caller graph for this function:

void EDF_pot2bar ( uint16_t  n)

Displays POT value on the LEDs.

Parameters:
nPOT reading
Note:
8bit does not have access to LEDs 7 & 8

Definition at line 84 of file OnePIC_led.c.

Here is the call graph for this function:

Here is the caller graph for this function: