6 x 7 segment display library for PCA9637 driven breakout board
Dependents: FTSE100 InternetDispBoB digitalThermometer Counter ... more
Diff: dispBoB.cpp
- Revision:
- 10:1fda6b0ee3bc
- Parent:
- 9:44de04d410df
- Child:
- 11:5e97be74f4d1
diff -r 44de04d410df -r 1fda6b0ee3bc dispBoB.cpp --- a/dispBoB.cpp Thu Jun 30 15:03:18 2011 +0000 +++ b/dispBoB.cpp Thu Jun 30 16:10:07 2011 +0000 @@ -53,8 +53,7 @@ } int dispBoB::_putc(int c){ - if(_pos>5) return -1; - + if(_pos>5) return -1; //skip if exceeds display size if(_cursor & 1){ element[_cursor] = dispR[toupper(c)]; } else {