Open github-actions[bot] opened 9 months ago
https://github.com/tomvik/Pi-4WD-Smart-Robot/blob/c6a7b40ed067310ffbadf8d0402964d1a2a5f3c1/Python/src/Motor.py#L37
""" GPIO.setup(self.firstPin, GPIO.OUT, initial = GPIO.LOW) GPIO.setup(self.secondPin, GPIO.OUT, initial = GPIO.LOW) # TODO: [Motor] Check if GPIO.LOW works as well. GPIO.setup(self.pwmPin, GPIO.OUT, initial = GPIO.HIGH) self.pwm = GPIO.PWM(self.pwmPin, self.pwmFrequency)
https://github.com/tomvik/Pi-4WD-Smart-Robot/blob/c6a7b40ed067310ffbadf8d0402964d1a2a5f3c1/Python/src/Motor.py#L37