Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6857

Unicorn pHAT not working/detecting

$
0
0

OS - DietPi
pi zero w
unicorn phat
pogo pins
5V Power adapter

Added extra ground pin

Installed connected everything else is working but I can’t get the Unicorn pHAT to work. I have set up the pogo pins like stated, heard it could be ground so added a couple more pogo pins for ground.

The device is not being detected and can’t run any of the examples.

sudo python3 detect.py
Unicorn HAT Detect-o-matic v2.0

Note: Your Unicorn HAT must be plugged in before boot to detect properly!


We couldn't find a connected EEPROM, so we'll assume you're using a Unicorn pHAT.

You should use the following in your code:

    import unicornhat
    unicornhat.set_layout(unicornhat.PHAT)

If you're sure you've connected a HAT, use:

    import unicornhat
    unicornhat.set_layout(unicornhat.HAT)

Not sure what I am missing… I am getting nothing from the examples

Using python3

Thanks

8 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 6857

Trending Articles