In this tutorial we are going to discuss the Timer module of Explore M3.
LPC1768 has four 32-bit timers, We will use Timer0 and Timer1 to generate a delay of 100ms and 500ms for blinking the LEDs.
Contents
Prerequisites
Please check this tutorial for detailed explanation on inbuilt Lpc1768 RTC module.
If you are doing it for the first time, then check the below links to setup the project for generating the .bin file.
Hardware Connection
LEDs are Connected to pin 13 and 14.
Code
Below is the sample code to blink the LED's with 100ms and 500ms delay using timers.