2dom / P10_matrix

ESP8266 Adafruit GFX compatible graphics driver for P10 32x16 LED matrix
Other
60 stars 13 forks source link

scrambled display #3

Closed pakeonoahu closed 6 years ago

pakeonoahu commented 6 years ago

Hi, I tested my P10 1/8 scan using Arduino nano and it worked fine, after loading your code on ESP-12, and setup all the jumpers, the P10_pattern_test works, but pixeltime was scrambled, I tried to print just text starting at 2,0 (display.setCursor(2,0), the text are also scrambled, looks like it started from 2,8 and wrap back up to the top with some weird spacing. I have tried it on different ESP-12 and same problem, any idea what might cause that?

thanks, p.

pakeonoahu commented 6 years ago

Okay, found my problem, after drawing few pixels and the location are off by 9(x and y), I found P10_matrix.h has "#define PATTERN4" enabled, no matter what I put in the test example code it default back to 1/4 scan, changing that to 1/8 solve my issue. Thanks for writing the ESP8266 driver for the P10 panel, it works!

2dom commented 6 years ago

Great! Thanks for the feed-back.

Cheers

Dom

Sent from my iPhone

On 24. Jan 2018, at 19:28, pakeonoahu notifications@github.com wrote:

Okay, found my problem, after drawing few pixels and the location are off by 9(x and y), I found P10_matrix.h has "#define PATTERN4" enabled, no matter what I put in the test example code it default back to 1/4 scan, changing that to 1/8 solve my issue. Thanks for writing the ESP8266 driver for the P10 panel, it works!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.