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.