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