LCD screen test for Stage 1 Engineering at the University of York
Dependencies: TextLCD UoY-serial
main.cpp
00001 #include "mbed.h" 00002 #include "UoY-serial.h" 00003 #include "TextLCD.h" 00004 00005 TextLCD lcd(D8, D9, D10, D11, D12, D13); // 4bit bus: rs, e, d4-d7 00006 00007 int main() 00008 { 00009 lcd.cls(); 00010 lcd.printf("Hello..."); 00011 lcd.locate(7, 1); 00012 lcd.printf("...world!"); 00013 } 00014
Generated on Wed Jul 27 2022 15:24:54 by 1.7.2