Skip to content

Instantly share code, notes, and snippets.

View FrBillyD's full-sized avatar

Billy D. FrBillyD

View GitHub Profile
@FrBillyD
FrBillyD / readSMS.py
Created September 20, 2013 20:10 — forked from underdoeg/readSMS.py
import serial
import time
from messaging.sms import SmsDeliver
ser=serial.Serial('/dev/ttyACM0', baudrate=9600, timeout=.1, rtscts=0)
def sendCommand(com):
ser.write(com+"\r\n")
time.sleep(2)
ret = []