sarfata / pi-blaster

PWM on the Raspberry pi - done properly (in hardware, stable)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR '6' is a banned gpio

ifd3f opened this issue · comments

I want to use pin 6, but when I run ./pi-blaster --gpio 5,6 it says that pin 6 is banned. Is there a way to unban it, and if not, why is it banned?

There's a list of banned pins in
https://github.com/sarfata/pi-blaster/blob/master/pi-blaster.c

It looks like it was taken by the onboard Ethernet On the early first generation Pi.

You can probably just comment out that line

@Plenglin I believe pin 6 is a Ground. Which is why it would be unusable for this functionality

Don’t confuse ARM gpio pin numbers with raspberry pi physical PIN numbers