Complete last row of Unicorn pHat won't light up


#1

Hi all,

on my new Unicorn pHat the complete last row doesn’t light up. Any idea how to debug the issue?

a funny thing, if i use the “Lighting all of the pixels using a for loop” example from learn.pimoroni.com i get 3 rows and then it segfaults.

greetings,

micha


#2


#3

What code are you using?


#4
for x in range(8):
for y in range(4):
    uh.set_pixel(x, y, 0, 255, 255)
    uh.show()

and some of the examples from https://github.com/pimoroni/unicorn-hat/tree/master/examples


#5

This is how it looks if I use the toggle example.


#6

Just resoldered all the “important” pins on the unicorn phat. No change.


#7

Just flashed a new MicroSD with current Raspbian light and installed the rainbow-stuf via
\curl -sS https://get.pimoroni.com/unicornhat | bash - problem still exists.


#8

Can you try the rotation setting (in Python for the unicorn hat) to rotate 180 degrees?
My simple idea that might help point to hardware or software depending on whether the unlit lights will now light.

Craig


#9

finally found the time to dig into this problem again. funny thing, i have repurposed the zero w with the phat dac in the meantime - so i’m using another one for the unicorn phat - and everything works fine. problem solved, maybe something was wrong with my soldering on the pi side. thanks for your help everone!