Code

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.
  • morselib.py v0.3 - added a callsign function which transmits 'FIREFLY'
  • morselib.py v0.4 - (FHALP-3)
  • 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()
 
missions/firefly/code.txt · Last modified: 2008/04/19 00:57 by jamescoxon
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki