examples/pup/hub_primehub: no need to call off()

The animation is now cleared automatically when invoking the pixel method, so there's no need to call this manually anymore.

See https://github.com/pybricks/support/issues/195
This commit is contained in:
Laurens Valk
2021-01-12 16:32:20 +01:00
parent 05ecf8bcb6
commit 92311b65fb
3 changed files with 0 additions and 9 deletions
@@ -4,9 +4,6 @@ from pybricks.tools import wait
# Initialize the hub.
hub = InventorHub()
# Turn off all the pixels.
hub.display.off()
# Turn on the pixel at row 1, column 2.
hub.display.pixel(1, 2)
wait(2000)
@@ -4,9 +4,6 @@ from pybricks.tools import wait
# Initialize the hub.
hub = PrimeHub()
# Turn off all the pixels.
hub.display.off()
# Turn on the pixel at row 1, column 2.
hub.display.pixel(1, 2)
wait(2000)
-3
View File
@@ -4,9 +4,6 @@ from pybricks.tools import wait
# Initialize the hub.
hub = ExampleHub()
# Turn off all the pixels.
hub.display.off()
# Turn on the pixel at row 1, column 2.
hub.display.pixel(1, 2)
wait(2000)