利用鸿蒙套件进行简单的物联网模块(雏形)代码:staticvoidOnButtonPressedisr(chararg){(void)arg;printf("[HelloWorld]OnButtonPressed()\n");BtnPressed1;BtnPressedidx++;BtnPressedidx%4;GpioRegisterIsrFunc(WIFIIOTIONAMEGPIO8,WIFIIOTINTTYPEEDGE,WIFIIOTGPIOEDGERISELEVELHIGH,OnButtonReleasedisr,NULL);}staticvoidOnButtonReleasedisr(chararg){(void)arg;printf("[HelloWorld]OnButtonReleased()\n");BtnPressed0...