LCD screen test for Stage 1 Engineering at the University of York
Dependencies: TextLCD UoY-serial
main.cpp
- Committer:
- ajp109
- Date:
- 2021-09-21
- Revision:
- 2:fa30a823bed1
- Parent:
- 1:acb591685a28
File content as of revision 2:fa30a823bed1:
#include "mbed.h" #include "UoY-serial.h" #include "TextLCD.h" TextLCD lcd(D8, D9, D10, D11, D12, D13); // 4bit bus: rs, e, d4-d7 int main() { lcd.cls(); lcd.printf("Hello..."); lcd.locate(7, 1); lcd.printf("...world!"); }