Funciona todo sin modulo_imu

This commit is contained in:
2026-05-21 09:51:42 -05:00
parent 026820f205
commit 19dc4bcf90
19 changed files with 1857 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import serial
import time
try:
puerto = serial.Serial('/dev/ttyAMA0', 921600, timeout=1.0)
print("Escuchando...")
t_end = time.time() + 2.0
while time.time() < t_end:
if puerto.in_waiting:
print("Bytes:", puerto.read(puerto.in_waiting))
print("Fin.")
except Exception as e:
print("Error:", e)