aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..9241a5e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+Code structure:
+
+setup {
+ set sotfware serial with GSM
+ set hardware serial with GPS
+ set button interrupt
+}
+
+loop {
+ listen for sms commands
+ setting emergency number
+}
+
+on_activation {
+ enable recording pin
+ loop (arbitrary time) {
+ get gps coordinates
+ send with sms
+ }
+}
+
+# Todo
+Test button interrupt sending message
+Test GPS fix
+Test GPS fix on button interrupt
+Combine both