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-PINand setup GPIO9 (IR) aspin0 / outputand then setpin0LOW 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login