Advertisement
Python253

hello_pico

Mar 1st, 2024
633
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.60 KB | None | 0 0
  1. #!/usr/bin/env python3
  2. # Filename: hello_pico.py
  3. # Author: Jeoi Reqi
  4. # Simple Hello World Using The Pico Microcontroller & Ducky Script (Requirements are not met, you will need micro-python dependencies, packages, ducky scripts & a Pico)
  5.  
  6. import sys
  7. import time
  8.  
  9. print("\n" * 100) # Clear the screen
  10. print("*" * 40)
  11. print("*" + " " * 38 + "*")
  12. print("*" + " " * 14 + "HELLO PICO!" + " " * 13 + "*")
  13. print("*" + " " * 38 + "*")
  14. print("*" * 40 + "\n\n")
  15.  
  16. for i in range(6):
  17.     time.sleep(1)
  18.     print("\n")
  19.  
  20. print("\n" * 100) # Clear the screen
  21. print("Done!")
  22. sys.exit() # Terminate the script
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement