Example #1
0
 def setUp(self):
     UI.init()
Example #2
0
 def test_key(self):
     print "Button test. Press the 'up' key!"
     for i in range(0,10):
         print UI.isPressed(0)
         time.sleep(1)
Example #3
0
 def tearDown(self):
     UI.close()
Example #4
0
 def test_setLed(self):
     for i in range(1,10):
         UI.setLed(i)
         time.sleep(1)
     UI.setLed(0)