0

I am using WiringPi to simulate PWM output to my GPIO pins. My problem is that I converted from the regular Rpi.GPIO library to WiringPi. I used BCM as GPIO mode but now WiringPi uses BOARD. How can I force WiringPi to uses BCM instead?

1 Answer 1

1

wiringPiSetup() uses its own proprietary "wPi" numbering scheme. To change to BCM (GPIO), use wiringPiSetupGpio() instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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