Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries && worked with
- # &&Pi pico Mon Jun 20 12:44:38 NZST 2022
- #
- # SPDX-License-Identifier: MIT
- #Pb worked 16.6.22
- """Example for Pico. Blinks the built-in LED."""
- import time
- import board
- import digitalio
- led = digitalio.DigitalInOut(board.LED)
- led.direction = digitalio.Direction.OUTPUT
- x=1
- while True:
- # led.value = True
- led.value = True
- x=x+1
- time.sleep(2.5)
- print("1CEEFFBOnnnnmmxxx",x)
- led.value = False
- print("OFFFFx1")
- # time.sleep(0.1)
- time.sleep(0.1)
- # Write your code here :-)
Advertisement
Add Comment
Please, Sign In to add comment