Ver Fonte

添加RadioStandby函数

xuxinyi há 3 meses atrás
pai
commit
34c7fa29f3
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      drv_periph/radio.lua

+ 1 - 0
drv_periph/radio.lua

@@ -27,6 +27,7 @@ sys.taskInit(function()
     sx126x_driver.RadioSetChannel(433000000) 
     sys.wait(2000)
     while true do
+        RadioStandby()
         sx126x_driver.sentString("hello,My_name_is_XuXinyi\n")
         sys.wait(4000)
     end