Part One of my Project Course. Implementation of simple I/O and a custom defined protocol over UDP/IP.
Dependencies: C12832 LM75B mbed EthernetInterface mbed-rtos
Diff: lcd.cpp
- Revision:
- 0:88d3b9015f7c
- Child:
- 1:b5c534165dfe
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lcd.cpp Mon Feb 26 11:25:59 2018 +0000 @@ -0,0 +1,20 @@ +#include "lcd.h" + +namespace ProjectOne{ + + LCD::LCD(PinName firstPin, PinName secondPin, PinName thirdPin, PinName fourthPin, PinName fifthPin) : lcd(firstPin,secondPin,thirdPin,fourthPin,fifthPin){ + + } + + void LCD::displayChars(char characters_to_display[]){ + clearLcd(); + lcd.locate(0,3); + lcd.printf(characters_to_display); + } + + void LCD::clearLcd(void){ + lcd.cls(); + } + + +} \ No newline at end of file