John Bunda
/
DigoleSerialDisp1
UART object
Fork of DigoleSerialDisp1 by
Diff: DigoleSerialDisp.cpp
- Revision:
- 5:7d3fd21b9ead
- Parent:
- 0:3cf7c2683c3a
- Child:
- 6:fc42c0dc7b7f
diff -r c4b2a8f0d056 -r 7d3fd21b9ead DigoleSerialDisp.cpp --- a/DigoleSerialDisp.cpp Mon Feb 25 06:12:59 2013 +0000 +++ b/DigoleSerialDisp.cpp Tue Nov 17 16:09:34 2015 +0000 @@ -20,7 +20,7 @@ char buf[128]; char tmp[128]; - +/* DigoleSerialDisp::DigoleSerialDisp(PinName sda, PinName scl, uint8_t address): _device(sda, scl) { @@ -28,6 +28,16 @@ _device.frequency(100000); _Comdelay=70; } +*/ +/* +DigoleSerialDisp(PinName tx, PinName rx, unsigned long baud) //UART set up + { + _mySerial = s; + _Baud = baud; + _Comdelay=2; + } +*/ + size_t DigoleSerialDisp::write(const char x) {