Implementation of the Wireless GPIO Application. More...
Defines | |
#define | AWAKE_TIME MSEC(1000) |
Functions | |
int | main (void) |
void | TRX_IRQ_vect () |
Variables | |
actor_ctx_t | ActorCtx |
volatile uint8_t | KeyEvent = 0 |
uint8_t | Led1Blnk = 0 |
volatile uint16_t | TmoCounter = 0 |
volatile uint8_t | TmoEvent = 0 |
volatile event_t | TrxEvent |
volatile app_state_t | TrxState |
Implementation of the Wireless GPIO Application.
This is a Wireless General Purpose IO Application a.k.a. a light switch application.
The application can run in two modes:
With a long key press, you get into the configuration mode, where the status LED blinks 3 times and the Actor LED displays the current operation mode:
int main | ( | void | ) |
Main function of WGPIO application.
void TRX_IRQ_vect | ( | ) |
Transceiver IRQ routine. Application specific timer IRQ routine. used to read key status (debounced).