MY_DEFAULT_TX_LED_PIN using I/O expander e.g. MCP23008
-
Hi, how I can using indication LEDs using I/O expander, because I don't have free pins on my MCU.
mcp.begin();
mcp.pinMode(0, OUTPUT);
mcp.digitalWrite(0, HIGH);@vidin you can implement the blinking in MY_INDICATION_HANDLER. There are some examples in the forum. Search link: https://forum.mysensors.org/search?term=My_indication_handler&in=titlesposts
Check them out and try writing your own. If you get into trouble, just post how far you got and someone might be able to help you get further.
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