Line 11: Line 11:
 
#[[Setting Up ARM GCC For ExploreM3 LPC1768|ARM GCC Setup]]
 
#[[Setting Up ARM GCC For ExploreM3 LPC1768|ARM GCC Setup]]
 
#[[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]]
 +
 +
=Hardware Connection=
 +
Similar to arduino the LED is connected pin number 13.
 +
 +
 +
=Code=
 +
Below is the sample code the blink the LED connected at pin 13.
 +
<html>
 +
<script src="https://gist.github.com/SaheblalBagwan/22b56f0eb7a4ccad41411b8fad0ad435.js"></script>
 +
</html>
 +
 +
 +
=Output=

Revision as of 14:49, 24 April 2016

In this tutorial we will see how to blink the LED using the explore Embedded bare metal libraries.
Please check the below link for detailed explanation on LPC1768 GPIO's configuration.
LPC1768 GPIO Configuration

Project Setup

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

Similar to arduino the LED is connected pin number 13.


Code

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


Output