I have a " 4-Channel High-Power Relay Controller Shield + 4 GPIO with IoT Interface", with a photon controlling it. I have written code on the photon that can turn the relays on and off, which I call from IFTTT, and via Alexa. However, I’d really like to also have an external LED, so I can visually see when any of the relays are on.
I don’t understand how to tell the GPIO ports to power an LED from the photon. It sounds like i’d need to set it to analog, and turn it on, but I’m unsure how to map the ports on the photon to the ones on the relay.
any help is greatly appreciated,