Advertisement
belrey10

0 – Getting Started with your Raspberry Pi Pico W (Firmware, Thonny IDE, and Blink)

Nov 4th, 2024 (edited)
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import machine
  2. import time
  3.  
  4. led = machine.Pin('LED', machine.Pin.OUT)
  5.  
  6. while True:
  7.     led.value(True)
  8.     time.sleep(1)
  9.     led.value(False)
  10.     time.sleep(1)
Tags: Neon Realm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement