raspberry-gpio-emulator icon indicating copy to clipboard operation
raspberry-gpio-emulator copied to clipboard

Pin mapping

Open OlegBURm opened this issue 7 years ago • 1 comments

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.

OlegBURm avatar Nov 17 '18 09:11 OlegBURm

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/

nosix avatar Nov 18 '18 02:11 nosix