![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
Example description
The Blinky example is known as the "Hello, World!" of embedded programming. This example is a slight variation of the blinky theme in that the sysTick interrupt turns on the LED at 10Hz, while timer 1 turns off the LED at 11Hz. The LED on/off state should be slightly out of sync.
Special connection requirements
There are no special connection requirements for this example.
Build procedures:
LPC11xx example quickstart for Code Red Xpresso
LPC11xx example quickstart for Keil uVision4
LPC11xx example quickstart for IAR EWARM
Supported boards and board setup:
NXP Xpresso LPC11U14 board
NXP Xpresso LPC11C24 board
Submitting LPCOpen issues:
Community support for LPCOpen
Macros | |
| #define | TICKRATE_HZ1 (10) /* 10 ticks per second */ |
| #define | TICKRATE_HZ2 (11) /* 11 ticks per second */ |
Functions | |
| void | SysTick_Handler (void) |
| Handle interrupt from SysTick timer. | |
| void | TIMER32_0_IRQHandler (void) |
| Handle interrupt from 32-bit timer. | |
| int | main (void) |
| main routine for blinky example | |
| int main | ( | void | ) |
| void SysTick_Handler | ( | void | ) |