Fixed writeRaw checking for null characters
Changed O to lower-case
This commit is contained in:
parent
2e8007d510
commit
a4d7396ed9
@ -99,7 +99,7 @@ void SegmentDisplay::writeRaw(char const* value)
|
||||
byte digitMask = 1 << (digits - 1);
|
||||
byte charIndex = 0;
|
||||
|
||||
while (charIndex < digits && value[charIndex] != '\0')
|
||||
while (charIndex < digits)
|
||||
{
|
||||
writeDisplay(value[charIndex], digitMask);
|
||||
|
||||
|
@ -216,12 +216,12 @@
|
||||
#define CharN SegmentC | SegmentE | SegmentG
|
||||
|
||||
/**
|
||||
*
|
||||
* _
|
||||
* | |
|
||||
* |_|
|
||||
*
|
||||
**/
|
||||
#define CharO SegmentA | SegmentB | SegmentC | SegmentD | SegmentE | SegmentF
|
||||
#define CharO SegmentC | SegmentD | SegmentE | SegmentG
|
||||
|
||||
/**
|
||||
* _
|
||||
|
Loading…
Reference in New Issue
Block a user