[FIX] gsm module doesn't work on Micropython example.

This issue cause by the missing config pin for SIM800_POWER which is pin
23 on example file. And this commit will fix this issue.
This commit is contained in:
phanupong
2019-09-19 10:40:28 +07:00
parent 8a7e87b2c1
commit e1a83a2b82
+2
View File
@@ -27,9 +27,11 @@ GSM_PASS = '' # Your Pass
GSM_PWR = machine.Pin(4, machine.Pin.OUT)
GSM_RST = machine.Pin(5, machine.Pin.OUT)
GSM_MODEM_PWR = machine.Pin(23, machine.Pin.OUT)
GSM_PWR.value(0)
GSM_RST.value(1)
GSM_MODEM_PWR.value(1)
# Init PPPoS