Difference between revisions of "LED Blinking With Explore M3"
(14 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><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><br> | ||
− | |||
− | |||
− | |||
− | |||
− | = | + | =Prerequisites= |
− | + | 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. | ||
#[[LPC1768: Keil Project For Bin File|Keil4 Setup]] | #[[LPC1768: Keil Project For Bin File|Keil4 Setup]] | ||
#[[Setting Up Keil5 For ExploreM3|Keil5 Setup]] | #[[Setting Up Keil5 For ExploreM3|Keil5 Setup]] | ||
Line 16: | Line 14: | ||
=Hardware Connection= | =Hardware Connection= | ||
− | + | ExploreM3 comes with on board led connected to pin 13. | |
<br><br><br> | <br><br><br> | ||
Line 24: | Line 22: | ||
<script src="https://gist.github.com/SaheblalBagwan/22b56f0eb7a4ccad41411b8fad0ad435.js"></script> | <script src="https://gist.github.com/SaheblalBagwan/22b56f0eb7a4ccad41411b8fad0ad435.js"></script> | ||
</html> | </html> | ||
− | + | <br><br> | |
− | = | + | [[File:Lpc1768 LED.gif]] |
+ | =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.
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.
Video Tutorial