wayoda / LedControl

An Arduino library for MAX7219 and MAX7221 Led display drivers
Other
464 stars 246 forks source link

Request the addition of 5 new characters #24

Open thegreenalien opened 6 years ago

thegreenalien commented 6 years ago

I would like to use 7-segment displays as part of a Heads up display, this will require that their reflections in a vehicle windscreen are readable. To achieve this, each number needs to be reflected about its vertical axis to produce a reversed character. This can already be achieved for 5 numbers - 8 and 0 reflect themselves 2 reflects as 5 5 reflects as 2 3 reflects as E However, for the remaining 5 digits, new characters are needed, with the following segments lit - 1 - E & F 4 - B,E,F & G 6 - All but F 7 - A,E and F 9 - All but C

Would this be possible please?

thegreenalien commented 6 years ago

OK, I see that this isn't needed, can just use binary strings to turn individual segments on and off. Although this is clear from the example sketches, maybe it could be added to the documentation? The following binary strings correspond to the 5 reversed characters: 1 - B00000110 4 - B00100111 6 - B01111101 7 - B01000110 9 - B01101111 If the decimal point is required, substitute 1 for the first zero.