0

I currently have a project where I need to be able to use 12 GPIOs to control lights. I'm using pi-blaster for my PWM needs, and it works great where it works, but some GPIOs it throws no error when registering, but does return an error upon changing GPIO #num# is not enabled for pi-blaster

Here's a list of GPIOs in regards to enabled and banned.

all :: [17,18,16,19,13,20,12,21,6,22,5,23,4,24,25,26,27]

banned :: [6,]

non banned :: [17,18,16,19,13,20,12,21,22,5,23,4,24,25,26,27]

non enabled :: [16,19,13,20,12,5,26]

enabled :: [17,18,21,22,23,24,4,25,27]

Using $ pi-blaster --gpio 17,18,16,19,13,20,12,21,22,5,23,4,24,25,26,27 for all non-banned GPIOs neither solves the problem nor throws an error.

How can I expand the set of enabled GPIOs to include at least 12 of the non-banned GPIOs, or is it possible?

1

Figured it out: sudo must be used for some of the GPIOs, but not all.

To solve, simply add sudo

$ sudo pi-blaster --gpio 17,18,16,19,13,20,12,21,22,5,23,4,24,25,26,27

  • Why do you think 16 is the maximum? The Pi3 has 26 accessible GPIO. pigpio will provide PWM on all of them. – joan Aug 7 '17 at 21:26
  • You're right. It's just my breakout board. – Seph Reed Aug 7 '17 at 21:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.