IR Block not available
-
Hi there,
UI Flow and IR capability were my reasons for buying a M5Stack C Plus.
I would like you to add the missing block in order to finish the hardware list.Thank you
David Blanco -
Hello @Dave_White
in the mean time you could use
Advanced
-PIN
and setup GPIO9 (IR) aspin0 / output
and then setpin0
LOW to turn the IR LED on.Below MicroPython code lets the IR LED blink:
from m5stack import * from m5ui import * from uiflow import * import machine import time setScreenColor(0x111111) pin0 = machine.Pin(9, mode=machine.Pin.OUT, pull=0x00) while True: pin0.off() wait(1) pin0.on() wait(1)
Cheers
Felix