andykarpov/ht1632c — Issue #2: Line X being reversed.
Author: hugodemiglio
Created: 2012-02-11 16:21:10+00:00
State: open

My matrix is the Sure Electronics, but the image is inverted.

It is the third library that I test and all come with the X out of sequence.

I made an array with the right values ​​and change the X in ht1632c::plot. With that I fix X, but do not think a good solution.

```C
void ht1632c::plot (char x, char y, char val) {
char newX[24] = {7, 6, 5, 4, 3, 2, 1, 0, 15, 14, 13, 12, 11, 10, 9, 8, 23, 22, 21, 20, 19, 18, 17, 16};
char addr, bitval;

x = newX[x];
...
}

```

You know what might be causing this?

Thanks.