I used this shield. and WEMOS board
http://www.geeetech.com/wiki/index.php/Arduino_GPRS_Shield
How can i Power up/down with code.
İ try t. So. code dont work.
http://www.geeetech.com/wiki/index.php/Arduino_GPRS_Shield
How can i Power up/down with code.
İ try t. So. code dont work.
B4X:
Public Sub GSM_POWER(ONOFF As Boolean) As Boolean
If ONOFF=True Then
'power up
led.DigitalWrite(True)
Log("sim 900 sinya verildi ")
led.digitalWrite(False)
Delay(1000)
led.digitalWrite(True)
Delay(2000)
led.digitalWrite(False)
Delay(3000)
Log("sim 900 sinya kesildi ")
'GSM.Init(GSM_TX, GSM_RX)
GSM.Init(wemos.D6, wemos.D5)
Else
'power down
led.digitalWrite(False)
Delay(1000)
led.digitalWrite(True)
Delay(2000)
led.digitalWrite(False)
Delay(3000)
End If
Return True
End Sub