From e97f61626b4a82342c1294e0a1b70fae09381ebc Mon Sep 17 00:00:00 2001 From: Alistair MacDonald Date: Thu, 30 Aug 2018 22:24:06 +0100 Subject: [PATCH] Wait for the SIM800 to start if it has not already --- phone/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phone/main.py b/phone/main.py index d2fe6e5..7ae687c 100644 --- a/phone/main.py +++ b/phone/main.py @@ -15,6 +15,8 @@ import sim800 ugfx_helper.init() ugfx.clear() +sim800.poweron() + notocall = prompt_text("Number to call:") if (notocall):