Retourner au contenu associé (entrée de forum : problème rebond moteur Python 3 COO)
Posté par yome22 le 14 mars 2021 à 22:31. En réponse au message problème rebond moteur Python 3 COO. Évalué à 2.
alors pour ceux qui en auraient besoin j'ai séparé la fonction stop et créer une nouvelle définition, et modifier l'adresse de la fonction stop dans le serveur
def ccManStop(self,ccstop=""): if ccstop=="ccstop": GPIO.output(self.MoteurOutputPinL,GPIO.LOW) GPIO.output(self.MoteurOutputPinR,GPIO.LOW) GPIO.output(self.MoteurOutputPinN,GPIO.HIGH) for dc in range(100, -1, -10): self.V1.ChangeDutyCycle(dc) time.sleep(self.t)
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# J'ai fini par trouver ;-)
Posté par yome22 . En réponse au message problème rebond moteur Python 3 COO. Évalué à 2.
alors pour ceux qui en auraient besoin
j'ai séparé la fonction stop et créer une nouvelle définition,
et modifier l'adresse de la fonction stop dans le serveur