LCD INTERFACING WITH STM-32 MBED PLATFORM In this tutorial you can find information about interfacing of different LCD panel with any (Here - STM32 NUCLEO-64) using Mbed platform and TextLCD.h library. Purpose of this program-- Basic Usage of library and interconnection description
Revision 0:bc6273c46d49, committed 2020-07-16
- Comitter:
- radhey04ec
- Date:
- Thu Jul 16 06:20:35 2020 +0000
- Child:
- 1:d9d7df4ad61b
- Commit message:
- LCD INTERFACING -BASIC; TextLCD.h library is main part of this prog; Import from given link; Jaydeep Shah -- radhey04ec@gmail.com;
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.gitignore Thu Jul 16 06:20:35 2020 +0000 @@ -0,0 +1,4 @@ +.build +.mbed +projectfiles +*.py*
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CONTRIBUTING.md Thu Jul 16 06:20:35 2020 +0000 @@ -0,0 +1,5 @@ +# Contributing to Mbed OS + +Mbed OS is an open-source, device software platform for the Internet of Things. Contributions are an important part of the platform, and our goal is to make it as simple as possible to become a contributor. + +To encourage productive collaboration, as well as robust, consistent and maintainable code, we have a set of guidelines for [contributing to Mbed OS](https://os.mbed.com/docs/mbed-os/latest/contributing/index.html).
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Thu Jul 16 06:20:35 2020 +0000 @@ -0,0 +1,8 @@ +LCD INTERFACING ON ARM MBED PLATFORM + +LCD : 20 * 4 + +HARDWARE PLATFORM : NUCLEO -64 STM BOARD + +CREATED BY : JAYDEEP SHAH +EMAIL : radhey04ec@gmail.com \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Thu Jul 16 06:20:35 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/simon/code/TextLCD/#308d188a2d3a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Jul 16 06:20:35 2020 +0000 @@ -0,0 +1,24 @@ +/* LCD INTERFACING BASIC PART -- TEXT DISPLAY +D4 TO D7 = PA3,PA2,PA10,PB3 === PORT PINS ==== +RS = PC0 +E = PC1 +R/W = GND +PLATFORM :MBED ARM ONLINE +HARDWARE : NUCLEO-64 / STM32\ +LCD : 20 *4 DISPLAY MODULE RG2004A +JAYDEEP SHAH -- radhey04ec@gmail.com +*/ + +//NOTE YOU NEED TO IMPORT LIBRARY - TextLCD.h for using class (4-bit interface) + +//Link : https://os.mbed.com/components/HD44780-Text-LCD/ + +#include "mbed.h" //MBED LIBRARY +#include "TextLCD.h" // LCD LIBRARY + +TextLCD lcd(PC_0, PC_1, PB_4, PB_5, PB_3, PA_10, TextLCD::LCD20x4); // rs, e, d4-d7 -- REGISTER SELECT / ENABLE / AND DATA-PIN + +int main() { // MAIN THREAD START + + lcd.printf("Jaydeep Shah!\n"); // PRINT COMMAND -- TXT ON LCD +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Thu Jul 16 06:20:35 2020 +0000 @@ -0,0 +1,1 @@ +https://github.com/ARMmbed/mbed-os/#cf4f12a123c05fcae83fc56d76442015cb8a39e9
Binary file resources/official_armmbed_example_badge.png has changed