|
#define KEY_1_IO_FUNC FUNC_GPIO14
singleKey[1] = keyInitOne(KEY_1_IO_NUM, KEY_1_IO_MUX, KEY_1_IO_FUNC,
key2LongPress, key2ShortPress);
key2ShortPress
gizwitsSetMode(WIFI_SOFTAP_MODE);
key2LongPress
gizwitsSetMode(WIFI_AIRLINK_MODE);
长按 短按 GPIO14 或者GPIO14接地 |
|