From dfa5569fa3d737541357673f426d80fe19fa5afd Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Wed, 3 Mar 2021 21:43:06 +0100 Subject: [PATCH] gpio pwm init --- src/pins.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pins.py b/src/pins.py index 6ab6fff..81dc81e 100644 --- a/src/pins.py +++ b/src/pins.py @@ -1,5 +1,8 @@ import RPi.GPIO as GPIO +GPIO.setmode(GPIO.BCM) +GPIO.setwarnings(False) + freq = 800 pins_out = {