Hi there,
I'm really interested, how could this algorithm (https://makecode.microbit.org/v0/61855- ... 7883-72378) look like in micropython. Could anybody please show me that?
Scoreboard for micro:bit
-
- Posts: 168
- Joined: Tue Nov 07, 2017 11:45 pm
Re: Scoreboard for micro:bit
it looks easy.
Are you wanting the latching behavior that is demonstrated in the 'new' blocks editor.
Or more likely are you wanting the following
Are you wanting the latching behavior that is demonstrated in the 'new' blocks editor.
Or more likely are you wanting the following
Code: Select all
if pin0 is connected to 3.3v
increase score by 1
output high on pin2 for 1 second