Example description
Welcome to the uC/OS-III basic blinky example. This example starts up uC/OS-III and creates 3 tasks. Tasks 1 and 2 blink different LEDs at different rates. Task 3 outputs a tick count to the debug channel (UART) every second.
To use the example, connect a serial cable to the board's RS232/UART port and start a terminal program (115.2K8N1) to monitor the port. The LEDs will also toggle based on the task execution.
Special connection requirements
There are no special connection requirements for this example.
Micrium uC/OS license
Build procedures:
LPC18xx/43xx example quickstart for Keil uVision4
LPC18xx/43xx example quickstart for IAR EWARM
LPC18xx/43xx example quickstart for Code Red Xpresso
Supported boards and board setup:
Hitex 1850 evaluation boards
Hitex 4350 evaluation boards
Keil 1857 evaluation boards
Keil 4357 evaluation boards
NGX 1830 Xplorer boards
NGX 4330 Xplorer boards
Submitting LPCOpen issues:
Community support for LPCOpen
main routine for uC/OS-III blinky example
Main program body.
- Returns
- Function should not exit.
Definition at line 170 of file ucos_iii_blinky.c.
| void OS_CSP_TickInit |
( |
void |
| ) |
|
| static void prvSetupHardware |
( |
void |
| ) |
|
|
static |
| static void vLEDTask1 |
( |
void * |
p_arg | ) |
|
|
static |
| static void vLEDTask2 |
( |
void * |
p_arg | ) |
|
|
static |
| static void vUARTTask |
( |
void * |
p_arg | ) |
|
|
static |