You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our school, we programming micro:bits in MicroPython. For analog reading, the microbit freezes at irregular intervals.
The error can be reproduced with this code:
`from microbit import *
light = False
while True:
pin1.read_analog()
display.set_pixel(2, 2, 5 if light else 0)
light = not light
sleep(200)
`
We use microbit v2 microcontrollers: MicroPython v1.13 on 2021-03-16; micro:bit v2.0.0-beta.5 with nRF52833
We tested this with 7 of the same Micro:Bits.
Please help us.
I also asked this question in another forum because I don’t know where we can get help.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
In our school, we programming micro:bits in MicroPython. For analog reading, the microbit freezes at irregular intervals.
The error can be reproduced with this code:
`from microbit import *
light = False
while True:
pin1.read_analog()
display.set_pixel(2, 2, 5 if light else 0)
light = not light
sleep(200)
`
We use microbit v2 microcontrollers: MicroPython v1.13 on 2021-03-16; micro:bit v2.0.0-beta.5 with nRF52833
We tested this with 7 of the same Micro:Bits.
Please help us.
I also asked this question in another forum because I don’t know where we can get help.
Thanks
The text was updated successfully, but these errors were encountered: