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-03-23
Revision:
3:538e17979246
Parent:
1:b5c534165dfe

File content as of revision 3:538e17979246:

#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();
    }
        

}