Ich habe arithmetische Probleme mit Micropython. Typeerror:TypeError: kann nicht in int konvertieren - Micropython
from microbit import *
counter = 0
while True:
display.show('8')
if accelerometer.was_gesture('shake'):
display.clear()
sleep(1000)
counter = counter + 1
display.scroll(counter)
sleep(10)
Fehler auf der LEDs angezeigt wird, kann nicht
in int konvertieren Was ich hier fehlt?
Versuchen Sie es mit 'display.scroll (str (Zähler))' – NullUserException