LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPC18xx/43xx Simple blinky example

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:
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

Macros

#define TICKRATE_HZ   10
 

Functions

void TIMER1_IRQHandler (void)
 Handle interrupt from 32-bit timer.
 
int main (void)
 main routine for blinky example
 

Macro Definition Documentation

#define TICKRATE_HZ   10

Definition at line 67 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 100 of file blinky.c.

void TIMER1_IRQHandler ( void  )

Handle interrupt from 32-bit timer.

Returns
Nothing

Definition at line 85 of file blinky.c.