import time
import machine
time.sleep(0.1) # Wait for USB to become ready
print("Hello, Pi Pico!")
data_channel = machine.Pin(0, machine.Pin.IN,machine.Pin.PULL_DOWN)
while True:
print(data_channel.value())
import time
import machine
time.sleep(0.1) # Wait for USB to become ready
print("Hello, Pi Pico!")
data_channel = machine.Pin(0, machine.Pin.IN,machine.Pin.PULL_DOWN)
while True:
print(data_channel.value())