Пример #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
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()