update tests: new scene API

This commit is contained in:
John McCardle 2026-01-03 10:59:52 -05:00
commit 838da4571d
142 changed files with 616 additions and 601 deletions

View file

@ -21,7 +21,7 @@ def run_test(runtime):
grid.h = 300
# Add to scene
scene_ui = mcrfpy.sceneUI("test")
scene_ui = test.children
scene_ui.append(grid)
# Test accessing grid points
@ -60,8 +60,8 @@ def run_test(runtime):
sys.exit(0)
# Create and set scene
mcrfpy.createScene("test")
mcrfpy.setScene("test")
test = mcrfpy.Scene("test")
test.activate()
# Schedule test
mcrfpy.setTimer("test", run_test, 100)