Closed megabitsenmzq closed 1 year ago
Hi, locate the library header file called SevSeg.h (it will be most likely be saved at My documents\Arduino\libraries
as said here).
On line 13 of that file, you'll find: #define MAXNUMDIGITS 8 // Can be increased, but the max number is 2^31
. Change that number to how many digits you want to use.
It's made this way to not use extra unnecessary memory because not many people use more than 8 digits.
Hope this helps!
It works! Thank you for responding. And I did a quick search on "Readme.md", found the instruction. I will read it more carefully next time 😂.
I'm working on a VFD project, trying the counter demo. It seems the 9th digit is not working. The number just starts from the 8th dight. And the last digit just ghosting. I have tested my screen, I can sure the screen works fine.
I tried to change the "numDigits" to 8, and it produce the same result as when the value was 9. So there might be a bug in the library.