Yes, my display is Common Cathode, so i'm using software as specified in Common CathodeDougieLawson wrote:Your hardware driver and the software you've written is common cathode, your display is common anode (or vice versa).
You may need to invert the signals with a set of transistor, turn the display upside down (connect the pins the other way) or change software (or all three).
Code: Select all
lm7Seg = new LM7SegDirect(25, 21, 13, 5, 22, 12, 19, 6, false); lm7Seg.defineDigits(4, 24, 16, 20, 26);
Hi,DougieLawson wrote:The article you linked to explicitly states common anode, so start setting everything that's logic 0 to logic 1 and check your wiring.
A segment/DP lights when you've got HIGH (1) on the ANODE and LOW (0) on the CATHODE.