(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:Explore M3 Bare Metal]]
 
[[Category:Explore M3 Bare Metal]]
 
In this tutorial we will see how to blink the LED using the explore Embedded bare metal libraries.<br>
 
In this tutorial we will see how to blink the LED using the explore Embedded bare metal libraries.<br>
The libraries can be used on different platforms like Keil, ARM GCC, GCC And Eclipse etc.<br>
+
The libraries can be used on different platforms like Keil, ARM GCC, GCC And Eclipse etc.<br><br>
Please refer <b>Project Setup Section</b> for setting up the platforms.
+
<br><br>
+
  
  
 
=Prerequisites=
 
=Prerequisites=
Please check [[LPC1768: Register Configuration(lpc17xx.h)|this]] tutorial for detailed explanation on lpc1768 Gpio configuration.<br>
+
Please check [[LPC1768: Register Configuration(lpc17xx.h)|this tutorial]] for detailed explanation on lpc1768 Gpio configuration.<br>
 
+
 
If you are doing it for the first time, then check the below links to setup the project for generating the .bin file.
 
If you are doing it for the first time, then check the below links to setup the project for generating the .bin file.
 
#[[LPC1768: Keil Project For Bin File|Keil4 Setup]]  
 
#[[LPC1768: Keil Project For Bin File|Keil4 Setup]]  
Line 15: Line 12:
 
#[[Setting Up ARM GCC And Eclipse For ExploreM3 LPC1768|Eclipse & ARM GCC Setup]]
 
#[[Setting Up ARM GCC And Eclipse For ExploreM3 LPC1768|Eclipse & ARM GCC Setup]]
 
<br><br>
 
<br><br>
 
=References=
 
Please check the below link for detailed explanation on LPC1768 GPIO's configuration.<br>
 
[[LPC1768: Register Configuration(lpc17xx.h)|LPC1768 GPIO Configuration]]
 
<br><br><br>
 
 
  
 
=Hardware Connection=
 
=Hardware Connection=
Line 32: Line 23:
 
</html>
 
</html>
 
<br><br>
 
<br><br>
 
+
[[File:Lpc1768 LED.gif]]
=Demo=
+
=Video Tutorial=
 +
<html>
 +
<div class="embed-responsive embed-responsive-16by9">
 +
    <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/8mFIKMPgMQY?list=PLRuRKN7_FVguJdF-riEXE542lVSJLhDk2"></iframe>
 +
</div>
 +
</html>

Latest revision as of 12:49, 15 June 2016

In this tutorial we will see how to blink the LED using the explore Embedded bare metal libraries.
The libraries can be used on different platforms like Keil, ARM GCC, GCC And Eclipse etc.


Prerequisites

Please check this tutorial for detailed explanation on lpc1768 Gpio configuration.
If you are doing it for the first time, then check the below links to setup the project for generating the .bin file.

  1. Keil4 Setup
  2. Keil5 Setup
  3. ARM GCC Setup
  4. Eclipse & ARM GCC Setup



Hardware Connection

ExploreM3 comes with on board led connected to pin 13.


Code

Below is the sample code the blink the LED connected to pin 13.

Lpc1768 LED.gif

Video Tutorial