Implementation of the Wireless GPIO Application. More...
Go to the source code of this file.
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:
Definition in file wgpio.c.
1.7.1