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

Unicorn pHat coordinates out on odd rows

$
0
0

@ste5eu wrote:

Hi

Just downloaded the latest version of Raspian Stretch onto a Pi Zero W and installed the unicorn phat. Oddly it looks like the coordinate calculations are out. So if I run the flash example from the tutorial I get a segmentation fault.

If I change the code so that it only references the first column I end up with:
Row 0 - first LED lit
Row 1 - last LED lit
Row 2 - first LED lit
Row 3 - last LED lit

Any value above 0 for the column where the row is 2 or 4 causes a segmentation fault.

It’s almost like it’s doing the calculations for the position incorrectly.

Anyone else seen this?

Steve

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6932

Trending Articles