I use 1 pin to control relay with Zigbee Ha 1.2, but when it boot the output state seem uncontrollable.
I init pins like this
/* * Pins table. */ static PIN_Config relayPinTable[] = { Board_RELAY_ENABLE | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL | PIN_DRVSTR_MAX, /* RELAY_ENABLE initially high, low all ouput */ PIN_TERMINATE /* Terminate list */ };
But when boot, it low and then high cause the relay to on and off.
How to config output state as early as possible