Hi Guys,
Just got my I2C backpack + Bi-color 8z8 matrix today and have been wiring it up. Now, I have a specific use in mind for this which has led me to wire it a bit differently. Instead of soldering the screen on the back side, I have used female headers and mounted the screen above the chip (I figure this just reverses the order of the pins).
This kinda works, but the rendering isn't quite as "backwards" as I was expecting. Rather than the whole image just being backwards, it's actually split into 4 segments that render correctly, just in the wrong order (see attached example of the smily example program, you can see the 4 (4x4) corner segments are right, just in the wrong order).
Can anyone suggest what changes to the LEDBackback library I need to "shift" it? (I'm assuming something in writeDisplay()).
Matt
12C Backpack Alternate Wiring
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mattbrailsford
- Posts: 22
- Joined: Tue Nov 22, 2011 12:22 pm
12C Backpack Alternate Wiring
- Attachments
-
- LED Display
- Photo 05-04-2014 11 44 54.jpg (251.6 KiB) Viewed 215 times
- mattbrailsford
- Posts: 22
- Joined: Tue Nov 22, 2011 12:22 pm
Re: 12C Backpack Alternate Wiring
After a couple of hours tinkering, I found it
I actually updated the drawPixel method and added the following before the color if statements:
Matt
I actually updated the drawPixel method and added the following before the color if statements:
Code: Select all
if(x < 4){
x += 4;
} else {
x -= 4;
}
if(y < 4){
y += 4;
} else {
y -= 4;
}
Please be positive and constructive with your questions and comments.