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: LCD.h
- Revision:
- 0:43e25c35d0c1
diff -r 000000000000 -r 43e25c35d0c1 LCD.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/LCD.h Sun Nov 29 10:10:28 2020 +0000
@@ -0,0 +1,32 @@
+//Verwendet SoftwareI2C von:
+/*
+ * mbed Library to use a software master i2c interface on any GPIO pins
+ * Copyright (c) 2012 Christopher Pepper
+ * Released under the MIT License: http://mbed.org/license/mit
+ */
+//Anpassungen in SoftwareI2C.cpp: _frequency_delay = 3;
+
+#include "mbed.h"
+#include "SoftwareI2C.h"
+class lcd
+{
+ private:
+ uint8_t Adresse;//=0x3F;
+ //DigitalOut *ok;
+ //DigitalOut *nok;
+ //PortOut *po;
+ //DigitalIn *t;
+ SoftwareI2C *i2c;
+ uint8_t wert;
+ public:
+ lcd(void);
+ void clear(void);
+ void sendeByte(char b,uint8_t rw, uint8_t rs );
+ void sendeNippel(char b,uint8_t rw, uint8_t rs );
+ void init(void);
+ void cursorpos(uint8_t pos);
+ void warte(void);
+ int printf(const char *format, ...);
+
+
+};