0

PWM0 and PWM1 assignment on Raspberry Pi Zero
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

PWM0 and PWM1 assignment on Raspberry Pi Zero

by monoroto on Wed May 04, 2016 2:15 pm

Hi, I am building a retropie gaming project using the pi zero. To get audio for this project, I used Lady Ada's tutorial on reassigning GPIOs using GPIO wiring tool. In the tutorial, it uses GPIO 13 and GPIO 18 for assignment of PWM0 and PWM1. However, I am already using GPIO18 for the down button on my d pad controller. Looking at the Alt tables for GPIOs, it appears GPIO12 can be used instead of GPIO18 for PWM1. Is this correct? If not, could I user another GPIO for input of my D pad as opposed to GPIO18? Thanks. Marco

monoroto
 
Posts: 6
Joined: Wed May 04, 2016 2:10 pm

Please be positive and constructive with your questions and comments.