i've got a seven-segment-display on my arduino-nano and want to write some numbers on it. The problem is that HIGH and LOW seems to be reversed. If the output should be
0
it displays
-
I could solve this, replacing all HIGH and LOW through HIGHX and LOWX, and defining them reversed:
#define HIGHX 0x0
#define LOWX 0x1
but this is reversed and not a good solution...
The wiring is correct like this (just GND not connected):
But if i connect the GND, the hole display isn't showing something anymore.