Basic phone app for testing

This needs work but can dial a number.
tildatorch
Alistair MacDonald 2018-08-28 23:23:38 +01:00 committed by GitHub
parent ac4d65d748
commit 87053ff323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
phone/main.py Normal file
View File

@ -0,0 +1,20 @@
"""Phone app for baic calling functions
"""
___name___ = "Phone"
___license___ = "MIT"
___dependencies___ = ["dialogs", "ugfx_helper", "app", "stack_nav", "sim800"]
___categories___ = ["System"]
___bootstrapped___ = True
import sim800
import ugfx_helper, ugfx
from app import *
from dialogs import *
ugfx_helper.init()
ugfx.clear()
notocall = prompt_text("Number to call:")
if (notocall):
sim800.call(notocall)