I am trying with this,
But, I just have PIN 15 pulled low no matter what. It doesnt change
Code:
from machine import Pinimport timeled = Pin(15, Pin.OUT)button = Pin(14, Pin.IN, Pin.PULL_DOWN)while True: if button.value(): led.toggle() time.sleep(0.5)
Statistics: Posted by deanfourie1 — Wed Jun 19, 2024 8:22 am