LCD For I2C

LCDTaonoi.h

Committer:
sweilz
Date:
2016-12-03
Revision:
1:a8cb70204513
Parent:
0:ef783944caa1

File content as of revision 1:a8cb70204513:

#ifndef LCDTAONOI_H
#define LCDTAONOI_H
#include "mbed.h"
#include <string>

class LCDTaonoi
{
public:
	LCDTaonoi(PinName _SDA, PinName _SCL , int _addr = 0x4E );
	void Command (char value, int Mode = 0);
	void print (string Data);
	int  address(int column, int row);
	void setCursor (int column, int row);
	void clear();
//void Command (const char* value, int Mode )
//	~LCDTaonoi();
private:
	const int addr ;
	I2C lcd;

};

#endif