Driver for the Digole Serial universal LCD display adapter
Revision 5:a78901fe6a7b, committed 2013-05-27
- Comitter:
- shimniok
- Date:
- Mon May 27 13:25:12 2013 +0000
- Parent:
- 4:c4b2a8f0d056
- Commit message:
- Minor tweaks
Changed in this revision
DigoleSerialDisp.cpp | Show annotated file Show diff for this revision Revisions of this file |
DigoleSerialDisp.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r c4b2a8f0d056 -r a78901fe6a7b DigoleSerialDisp.cpp --- a/DigoleSerialDisp.cpp Mon Feb 25 06:12:59 2013 +0000 +++ b/DigoleSerialDisp.cpp Mon May 27 13:25:12 2013 +0000 @@ -18,9 +18,6 @@ //UART function -char buf[128]; -char tmp[128]; - DigoleSerialDisp::DigoleSerialDisp(PinName sda, PinName scl, uint8_t address): _device(sda, scl) {
diff -r c4b2a8f0d056 -r a78901fe6a7b DigoleSerialDisp.h --- a/DigoleSerialDisp.h Mon Feb 25 06:12:59 2013 +0000 +++ b/DigoleSerialDisp.h Mon May 27 13:25:12 2013 +0000 @@ -344,6 +344,7 @@ I2C _device; uint8_t _address; uint8_t _Comdelay; + char buf[128]; size_t printNumber(unsigned long n, uint8_t base); size_t printFloat(double number, uint8_t digits);