raspberry-gpio-emulator
raspberry-gpio-emulator copied to clipboard
Pin mapping
Hi! It seems to make the code running on Raspberry 3 B+ you should use GPIO.setmode(GPIO.BOARD) instead of GPIO.BCM. Pin 12 board pinout supports PWM.
Thanks.
Is your pointing out below correct?
https://github.com/nosix/raspberry-gpio-emulator/blob/beb3079b51d9e8858732c0bb9f74b0a0d6f9c8f3/samples/sample_pwm.py#L5
I quote the next sample but certainly made a mistake.
https://sourceforge.net/p/raspberry-gpio-python/wiki/PWM/