LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Simple blinky example

Macros

#define TICKRATE_HZ   10
 

Functions

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

Detailed 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.

No special setup is required for the demo. Just build and run.

Build procedure: LPCOpen 18xx/43xx build instructions

Supported boards and board setup:

Submit bug reports for LPCOpen code here.

Macro Definition Documentation

#define TICKRATE_HZ   10

Definition at line 59 of file blinky.c.

Function Documentation

int main ( void  )

main routine for blinky example

Returns
Function should not exit.

Definition at line 92 of file blinky.c.

void TIMER1_IRQHandler ( void  )

Handle interrupt from 32-bit timer.

Returns
Nothing

Definition at line 77 of file blinky.c.