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.h Source File

lcd.h

00001 #include "mbed.h"
00002 #include "C12832.h"
00003 #pragma once
00004 
00005 namespace ProjectOne{
00006     
00007     class LCD{
00008         public:
00009             /*
00010             * Constructor for LCD class.
00011             *
00012             @param The pins used to controll the LCD on the application board.
00013             @return Nothing.
00014             */
00015             LCD(PinName mosi=p5, PinName sck=p7, PinName reset=p6, PinName a0=p8, PinName ncs=p11);
00016             
00017             /*
00018             * Method that displays chars on the LCD.
00019             *
00020             @param Char array containing the characters to display.
00021             @return Nothing.
00022             */
00023             void displayChars(char characters_to_display[]);
00024             
00025              /*
00026             * Method that clears everything on the LCD.
00027             *
00028             @param Nothing.
00029             @return Nothing.
00030             */
00031             void clearLcd(void);
00032         
00033         private:
00034             C12832 lcd;
00035     };
00036 
00037 };