예제 #1
0
파일: ui.py 프로젝트: zaqwes8811/matlab_ext
def plotWord(msg, word):
	string = f32_conv.byte2hex(int(word)%256) 	# L
	string += ' '+ f32_conv.byte2hex(int(word)/256)	# H
	print msg+' '+string
	os_w.printStrToFile(msg+' '+string+'\n')
예제 #2
0
파일: ui.py 프로젝트: zaqwes8811/matlab_ext
def rout():
	os_w.printStrToFile('\n')
예제 #3
0
파일: ui.py 프로젝트: zaqwes8811/matlab_ext
def plot(msg, value):
	print msg+" "+str(value)
	ieee, mchip = f32_conv.run(value, pluginList["Full"])
	mchip = printFormatter(mchip)
	os_w.printStrToFile(msg+' '+mchip+'\n')