Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: SerialLcd/SerialLcd.h
- Revision:
- 2:59ac9df97701
- Child:
- 4:4060309b9cc0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/SerialLcd/SerialLcd.h Fri Nov 15 20:53:36 2013 +0000
@@ -0,0 +1,23 @@
+#ifndef MBED_SERIALLCD_H
+#define MBED_SERIALLCD_H
+
+#include "mbed.h"
+#include "stdarg.h"
+
+class SerialLcd : public Stream
+{
+public:
+ SerialLcd(PinName);
+
+ void cls();
+ void locate(int,int);
+private:
+ virtual int _putc(int value);
+ virtual int _getc();
+ Serial _lcd;
+ int LCD_addr;
+ char LCD_cmd;
+ char LCD_data;
+ int LCD_contrast;
+};
+#endif
\ No newline at end of file