Browse Source

:sparkles: 添加设置电压 3.3V 的代码, 默认注释掉

Mizore 1 year ago
parent
commit
c359ef2dd0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      script/main.lua

+ 3 - 0
script/main.lua

@@ -12,6 +12,9 @@ sysplus = require "sysplus"
 wdt.init(9000)
 sys.timerLoopStart(wdt.feed, 3000)
 
+-- 设置电平输出 3.3V
+-- pm.ioVol(pm.IOVOL_ALL_GPIO, 3300)
+
 -- 设置 DNS
 socket.setDNS(nil, 1, "119.29.29.29")
 socket.setDNS(nil, 2, "223.5.5.5")