LCD Baseshield GSOE GSOF

Dependents:   WebserverGSOE_Schnaiter HC05__TI4_RP5_Schnaiter

Committer:
jack1930
Date:
Wed Mar 04 17:42:16 2020 +0000
Revision:
0:0eebf803661c
Child:
10:6104b8ad248f
LCD Baseshield GSOE

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jack1930 0:0eebf803661c 1 //Verwendet SoftwareI2C von:
jack1930 0:0eebf803661c 2 /*
jack1930 0:0eebf803661c 3 * mbed Library to use a software master i2c interface on any GPIO pins
jack1930 0:0eebf803661c 4 * Copyright (c) 2012 Christopher Pepper
jack1930 0:0eebf803661c 5 * Released under the MIT License: http://mbed.org/license/mit
jack1930 0:0eebf803661c 6 */
jack1930 0:0eebf803661c 7 //Anpassungen in SoftwareI2C.cpp: _frequency_delay = 3;
jack1930 0:0eebf803661c 8
jack1930 0:0eebf803661c 9 #include "mbed.h"
jack1930 0:0eebf803661c 10 #include "SoftwareI2C.h"
jack1930 0:0eebf803661c 11 class lcd
jack1930 0:0eebf803661c 12 {
jack1930 0:0eebf803661c 13 private:
jack1930 0:0eebf803661c 14 uint8_t Adresse;//=0x3F;
jack1930 0:0eebf803661c 15 //DigitalOut *ok;
jack1930 0:0eebf803661c 16 //DigitalOut *nok;
jack1930 0:0eebf803661c 17 //PortOut *po;
jack1930 0:0eebf803661c 18 //DigitalIn *t;
jack1930 0:0eebf803661c 19 SoftwareI2C *i2c;
jack1930 0:0eebf803661c 20 uint8_t wert;
jack1930 0:0eebf803661c 21 public:
jack1930 0:0eebf803661c 22 lcd(void);
jack1930 0:0eebf803661c 23 void clear(void);
jack1930 0:0eebf803661c 24 void sendeByte(char b,uint8_t rw, uint8_t rs );
jack1930 0:0eebf803661c 25 void sendeNippel(char b,uint8_t rw, uint8_t rs );
jack1930 0:0eebf803661c 26 void init(void);
jack1930 0:0eebf803661c 27 void cursorpos(uint8_t pos);
jack1930 0:0eebf803661c 28 void warte(void);
jack1930 0:0eebf803661c 29 int printf(const char *format, ...);
jack1930 0:0eebf803661c 30
jack1930 0:0eebf803661c 31
jack1930 0:0eebf803661c 32 };