Ubuntu Pastebin

Paste from Bram at Mon, 9 May 2016 11:05:33 +0000

Download as text
1
2
3
4
5
6
7
8
9
import mux
import time
data = 0
while 1:
	data = data + 1
	mux.WriteData('RS232', chr(data))
	time.sleep(0.1)

print mux.ReadData('RS232')
Download as text