Aufgeräumt

This commit is contained in:
2026-05-26 08:10:59 +02:00
parent 92c51b81ce
commit cb33bbf06c
202 changed files with 10 additions and 8758 deletions
+14
View File
@@ -0,0 +1,14 @@
import Adafruit_PCA9685
import time
import sys
'''
This script simply stops all the motors, in case they were left in a running state.
'''
pwm = Adafruit_PCA9685.PCA9685()
# For most motors a pwm frequency of 50Hz is normal
pwm_frequency = 50.0 # Hz
pwm.set_pwm_freq(pwm_frequency)
for pin_number in range(16):
pwm.set_pwm(pin_number, 0, 0)