Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- # Filename: hello_pico.py
- # Author: Jeoi Reqi
- # Simple Hello World Using The Pico Microcontroller & Ducky Script (Requirements are not met, you will need micro-python dependencies, packages, ducky scripts & a Pico)
- import sys
- import time
- print("\n" * 100) # Clear the screen
- print("*" * 40)
- print("*" + " " * 38 + "*")
- print("*" + " " * 14 + "HELLO PICO!" + " " * 13 + "*")
- print("*" + " " * 38 + "*")
- print("*" * 40 + "\n\n")
- for i in range(6):
- time.sleep(1)
- print("\n")
- print("\n" * 100) # Clear the screen
- print("Done!")
- sys.exit() # Terminate the script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement