Bert Gereels / Mbed 2 deprecated ProjectOne

Dependencies:   C12832 LM75B mbed EthernetInterface mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers lcd.cpp Source File

lcd.cpp

00001 #include "lcd.h"
00002 
00003 namespace ProjectOne{
00004 
00005     LCD::LCD(PinName firstPin, PinName secondPin, PinName thirdPin, PinName fourthPin, PinName fifthPin) : lcd(firstPin,secondPin,thirdPin,fourthPin,fifthPin){
00006  
00007     }
00008 
00009     void LCD::displayChars(char characters_to_display[]){
00010         clearLcd();
00011         lcd.locate(0,3);
00012         lcd.printf(characters_to_display);
00013     }
00014     
00015     void LCD::clearLcd(void){
00016         lcd.cls();
00017     }
00018         
00019 
00020 }