This commit is contained in:
Konstantin Lampalzer 2021-08-22 13:07:37 +02:00
parent 4bf031a6c7
commit 530ddd8be7
7 changed files with 62 additions and 283 deletions

View file

@ -1,11 +1,7 @@
import atexit
from compLib.PCA9685 import PCA9685
from compLib.LogstashLogging import Logging
pwm = PCA9685(0x40, debug=True)
pwm.setPWMFreq(50)
MOTOR_COUNT = 4
MAX_MOTOR_SPEED = 4095.0
MOTOR_PERCENTAGE_MULT = MAX_MOTOR_SPEED / 100.0