mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 21:11:12 +02:00
This adds a separate `AdvancedTimer` class that demonstrates a few more advanced concepts usch as custom handlers for printing and attributes. Signed-off-by: Laurens Valk <laurens@pybricks.com>
10 lines
96 B
Plaintext
10 lines
96 B
Plaintext
<Timer>
|
|
True
|
|
True
|
|
AdvancedTimer()
|
|
AdvancedTimer() # created 0 seconds ago
|
|
0
|
|
123
|
|
True
|
|
TypeError
|