Difference between revisions of "Lcd 8-bit With Explore M3"
(Created page with "Category:Explore M3 Bare Metal In this tutorial we will see how to interface lcd in 8-bit mode using the explore Embedded bare metal libraries.<br> At the end will see how...") |
|||
Line 44: | Line 44: | ||
</html> | </html> | ||
<br><br> | <br><br> | ||
− | + | [[File:01LCD 8bit.png]] | |
=Demo= | =Demo= |
Latest revision as of 11:15, 5 May 2016
In this tutorial we will see how to interface lcd in 8-bit mode using the explore Embedded bare metal libraries.
At the end will see how to use the libraries for 1x16, 2x16 and 4x20 LCD's.
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 LCD.
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
RS | RW | EN | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 |
---|---|---|---|---|---|---|---|---|---|---|
5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Code
LCD 1x16
Below is the sample code for 1x16 Lcd in 8-bit mode.
LCD 2x16
Below is the sample code for 2x16 Lcd in 8-bit mode.
LCD 4x20
Below is the sample code for 4x20 Lcd in 8-bit mode.