terra121

RPI SimpleContador

Feb 14th, 2025
787
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import time
  2.  
  3. i = 1
  4. while True:
  5.     print(i)
  6.     time.sleep(1)  # Espera 1 segundo
  7.     i += 1  # Incrementa el contador
  8.  
Advertisement
Add Comment
Please, Sign In to add comment