EDF - OnePIC MCU  v1.1.0
source/base/include/OnePIC_led.h File Reference
#include "Compiler.h"
#include <stdint.h>
Include dependency graph for OnePIC_led.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

enum  EDF_LED {
  LED_UP, LED_DOWN, LED_LEFT, LED_RIGHT,
  LED_ENTER, LED_1, LED_2, LED_3,
  LED_4, LED_5, LED_6, LED_7,
  LED_8
}
 Contains all LEDs on board. More...
void EDF_LEDSet (EDF_LED d)
 Turns on an LED.
void EDF_LEDClr (EDF_LED d)
 Turns off an LED.
void EDF_pot2bar (uint16_t n)
 Displays POT value on the LEDs.
void EDF_LEDBarSet (uint8_t bf)
 Displays a bit pattern on the LEDs.
void EDF_LEDInit (void)
 Initializes the LEDs.

Detailed Description

Definition in file OnePIC_led.h.


Enumeration Type Documentation

enum EDF_LED

Contains all LEDs on board.

  • General Purpose (gpLEDs) below LCD
  • mTouch
Enumerator:
LED_UP 

mtouch up

LED_DOWN 

mtouch down

LED_LEFT 

mtouch left

LED_RIGHT 

mtouch right

LED_ENTER 

mtouch enter

LED_1 

general purpose leftmost

LED_2 

general purpose 2

LED_3 

general purpose 3

LED_4 

general purpose 4

LED_5 

general purpose 5

LED_6 

general purpose 6

LED_7 

general purpose 7

LED_8 

general purpose rightmost

Note:
the 8bit PIC16LF1939 does not have access to the 2 rightmost LEDs (LED 7&8)

Definition at line 47 of file OnePIC_led.h.