astro-pi / python-sense-hat

Source code for Sense HAT Python library
https://sense-hat.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
508 stars 255 forks source link

Strange behavior set_pixel #73

Closed paulocanedo closed 7 years ago

paulocanedo commented 7 years ago

Hi,

sense.clear()
sense.set_pixel(0, 0, 255, 0, 0)

When I use above code, all the LEDs in column 0 turns red, instead of just one LED, how can I find where the bug is? python lib, SenseHat firmware, board connection?

XECDesign commented 7 years ago

After running that, could you run sudo dd if=/dev/fb1 of=test.rgb565 and then upload test.rgb565?

paulocanedo commented 7 years ago

here is @XECDesign test.zip

XECDesign commented 7 years ago

So it's not the python lib. Given that I can't reproduce the problem, it's hard to investigate the rest. Are you overclocking or changing any of the timings at all?

paulocanedo commented 7 years ago

No over clock or any kind of hack... i have a raspbian fresh install and modified /boot/confia adding dtoverlay = sensehat . Thanks for your help, at least I know the problem isn't python lib.

XECDesign commented 7 years ago

Do you have another pi or another sense hat you could try? Do you have a logic analyser or a scope?