The `buttons` is not defined

When I upload the example Buttons app to my clockstar, I got errors like:

>>> while True:
...     buttons.scan()
...     time.sleep_ms(20)
... Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
NameError: name 'buttons' isn't defined

Is the firmware too old to support buttons? But I just flash it through code.circuitmess.com today.

1 Like

Hey,

could you please click on the bug icon in CircuitBlocks, and send us a bug report?

Thank you!

Hmm, I remember I’ve reported the bug on the CircuitBlocks last year. But anyway, I’ve reported that again.

1 Like

Thank you! We saw your bug report.