main.py v0.2 - Python code, includes camera triggering, cutdown, gps parsing, sms, radio, gps reset
-
-
-
-
-
Libraries
morselib.py v0.1 - library of functions to turn radio on/off and convert an integer into mc- 'morse' code
morselib.py v0.2 - updated library, have reverted back to standard morse code as it allows me to use cocoamodem to translate the message.
-
-
debug.py - contains the simple function that'll format a string and send it over a serial port (remember to set up serial port before - I do this in my start script).
import debug
debug.msg('String')
Misc
How to use python to write to a file.
file = open('data.txt','wb')
file.write(senddata)
file.close()