Ajout du relais : télécommande -> ropy

This commit is contained in:
Philippe Roy 2022-11-13 05:23:14 +01:00
parent f9336f9610
commit 4ad737e635
3 changed files with 2 additions and 19 deletions

Binary file not shown.

BIN
ropy-29.blend1 Normal file

Binary file not shown.

View File

@ -28,24 +28,7 @@ from rp_lib import * # Bibliothèque Ropy
def commandes(): def commandes():
rp_jumeau('/dev/ttyACM1', 115200) # Ecrire votre code ici ...
rp_avancer()
rp_gauche()
# while True :
# ordre = rp_serie_rcpt()
# print (ordre)
# if "AV" in ordre :
# rp_avancer()
# rp_marquer()
# if "RE" in ordre :
# rp_reculer()
# if "GA" in ordre :
# rp_gauche()
# if "DR" in ordre :
# rp_droite()
# if "ST" in ordre :
# break
rp_fin() # A garder rp_fin() # A garder