From 28d45ff46c7f27c2f5edf9e971fe28151189849e Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Thu, 2 Mar 2017 16:46:16 +0000 Subject: add planned structure in readme --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md 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 -- cgit v1.2.3