EDF - OnePIC MCU
v1.1.0
|
![]() |
Modules | |
I2C | |
LCD | |
LED | |
mTouch | |
RTCC | |
Files | |
file | OnePIC_i2c.h |
file | OnePIC_int.h |
file | OnePIC_isr.h |
file | OnePIC_lcd.h |
file | OnePIC_led.h |
file | OnePIC_mtouch.h |
file | OnePIC_pot.h |
file | OnePIC_rtcc.h |
file | OnePIC_switch.h |
file | OnePIC_timer.h |
Functions | |
uint8_t | switchPressed (void) |
polls and debounces the switch for a press | |
void | switchTasks (void) |
when switch is pressed, toggle all of the LEDs once | |
Variables | |
uint8_t | _pbState |
_pbState what state push button is in | |
uint8_t | ON_ENTRY |
1 if held down already | |
swState | _swState |
holds SW1 info |
uint8_t switchPressed | ( | void | ) |
polls and debounces the switch for a press
Definition at line 24 of file OnePIC_switch.c.
void switchTasks | ( | void | ) |
when switch is pressed, toggle all of the LEDs once
Definition at line 48 of file OnePIC_switch.c.