UKHAS Wiki

UK High Altitude Society

User Tools

Site Tools


projects:firefly:debug.py
import SER
 
def msg(msgtext):
    msgtext = msgtext.replace('\r', '\\r')
    msgtext = msgtext.replace('\n', '\\n')
    SER.send(msgtext + '\r\n')
projects/firefly/debug.py.txt ยท Last modified: 2008/07/19 23:33 (external edit)