| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
LPC17xx/40xx Simple Blinky example
Peripheral examples

## Detailed Description

Example description
The Blinky example is known as the "Hello, World!" of embedded programming. This example will flash an LED on your board at a periodic rate and output the timer information on the UART port.

Special connection requirements
There are no special connection requirements for this example.

Build procedures:
LPC17xx/40xx example quickstart for Keil uVision4
LPC17xx/40xx example quickstart for IAR EWARM
LPC17xx/40xx example quickstart for Code Red Xpresso

Supported boards and board setup:
Embedded Artists' LPC1788 Developer's Kit
Embedded Artists' LPC4088 Developer's Kit
NXP Xpresso LPC1769 board

Submitting LPCOpen issues:
Community support for LPCOpen

## Macros
#define | TICKRATE1_HZ 10
#define | TICKRATE2_HZ 7

## Functions
void | TIMER1_IRQHandler (void)
| Handle interrupt from 32-bit timer 1.
void | TIMER2_IRQHandler (void)
| Handle interrupt from 32-bit timer 2.
int | main (void)
| main routine for blinky example

## Macro Definition Documentation

#define TICKRATE1_HZ 10

Definition at line 64 of file blinky.c.

#define TICKRATE2_HZ 7

Definition at line 65 of file blinky.c.

## Function Documentation

int main | ( | void |  | ) |

main routine for blinky example

Main program body.

Returns
  Function should not exit.

Definition at line 113 of file blinky.c.

void TIMER1_IRQHandler | ( | void |  | ) |

Handle interrupt from 32-bit timer 1.

Returns
  Nothing

Definition at line 83 of file blinky.c.

void TIMER2_IRQHandler | ( | void |  | ) |

Handle interrupt from 32-bit timer 2.

Returns
  Nothing

Definition at line 98 of file blinky.c.