update tests: new scene API
This commit is contained in:
parent
f62362032e
commit
838da4571d
142 changed files with 616 additions and 601 deletions
|
|
@ -17,8 +17,8 @@ def timer_callback(runtime):
|
|||
sys.exit(0)
|
||||
|
||||
# Set up the scene
|
||||
mcrfpy.createScene("test_scene")
|
||||
mcrfpy.setScene("test_scene")
|
||||
test_scene = mcrfpy.Scene("test_scene")
|
||||
test_scene.activate()
|
||||
|
||||
# Create a timer the old way
|
||||
mcrfpy.setTimer("test_timer", timer_callback, 100)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue