Charles Young's development fork. Going forward I only want to push mature code to main repository.
Fork of GEO_COUNTER_L432KC by
Diff: LED7segDisplay.cpp
- Revision:
- 27:81c417f7cf1a
- Parent:
- 26:166dbe6022e8
- Child:
- 29:3a2152a3a9d1
diff -r 166dbe6022e8 -r 81c417f7cf1a LED7segDisplay.cpp --- a/LED7segDisplay.cpp Wed Sep 05 17:31:35 2018 +0000 +++ b/LED7segDisplay.cpp Wed Sep 05 11:24:15 2018 -0700 @@ -65,7 +65,7 @@ for(uint8_t i=0; i<6; i++) { if(TextString[i] == ' ') // blank empty digits - Disp_Digit[i] = 0xFF; + Disp_Digit[i] = 0x7F; else Disp_Digit[i] = TextString[i]-'0'; } @@ -103,7 +103,7 @@ sprintf(TextString, "%2d", value); // int to string if(TextString[0] == ' ') // blank empty digits - Disp_Digit[7] = 0xFF; + Disp_Digit[7] = 0x7F; else Disp_Digit[7] = TextString[0] - '0';