Absolutely nothing. Can I assume that my IR receiver is dead?This should work to show when an IR button is pushed to at least prove the hardware is working ...Code:
from machine import Pindef KeyPressed(): print("Key pressed")ir_rx_pin = Pin(16, Pin.IN)ir_rx_pin.irq(trigger=Pin.IRQ_FALLING, handler=KeyPressed)while True: pass
Statistics: Posted by coomb — Tue Feb 20, 2024 4:56 pm