예제 #1
0
 def __init__(self):
     ti.tiki_init()
     ti.tiki_config(5000,0)
     self.tag = None
     self.isPlayerRunning = False
예제 #2
0
import pytiki as ti
ti.tiki_init()
ti.tiki_config(5000,0)

for i in range(100):
	num = ti.tiki_seek()
	if num == 0:
		print "No tag found"
	elif num == 1:
        	print "%x"%ti.tiki_getID1()
	elif num == 2:
		print "%x"%ti.tiki_getID1()
		print 
		print "%x"%ti.tiki_getID2()
	else:
		print "Nope"

ti.tiki_close()

예제 #3
0
파일: test.py 프로젝트: nesl/tikitag
import pytiki as ti
ti.tiki_init()
ti.tiki_config(5000, 0)

for i in range(100):
    num = ti.tiki_seek()
    if num == 0:
        print "No tag found"
    elif num == 1:
        print "%x" % ti.tiki_getID1()
    elif num == 2:
        print "%x" % ti.tiki_getID1()
        print
        print "%x" % ti.tiki_getID2()
    else:
        print "Nope"

ti.tiki_close()