Now got Pico going via Adafruit's Circuit Python and Mu IDE.
Code for flashing LED was:
# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries
#
# 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("1CEEFFBOnnnnmmx",x)
led.value = False
print("OFFFFx1")
# time.sleep(0.1)
time.sleep(0.1)
# Write your code here :-)
Comments
Post a Comment