flapping wing
/
Nucleo_TextLCD_sample
TextLCD demo for Nucleo F303K8
main.cpp
- Committer:
- flappingwing
- Date:
- 2016-09-23
- Revision:
- 0:671361c6a2ce
File content as of revision 0:671361c6a2ce:
#include "mbed.h" #include "TextLCD.h" TextLCD g_lcd(D7, D8, D9, D10, D11, D12); // RS, E, DB4, DB5, DB6, DB7 int main() { g_lcd.cls(); g_lcd.locate(0, 0); g_lcd.printf( "Hello!"); int iCounter = 0; while(1) { g_lcd.locate(0, 1); g_lcd.printf( "%d", iCounter ); iCounter++; wait(1.0); } }