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
lcd.cpp
- Committer:
- bertgereels
- Date:
- 2018-02-26
- Revision:
- 0:88d3b9015f7c
- Child:
- 1:b5c534165dfe
File content as of revision 0:88d3b9015f7c:
#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(); } }