My Micro Bit smiley buttons activity
This is my smiley buttons activity. The first picture is of the first code I did on this activity. First I dragged a on button b loop into the work space. Then I dragged a show leds block and put it inside the on button b pressed loop and made a sad face. This means that when the b button is pressed it will make a sad face. Next I dragged another on button b pressed loop and changed it to an on button a pressed. Then I dragged another show leds block and made a happy face this means that when button a is pressed it will make a happy face. After that I dragged another on button b pressed loop and changed it to an on button a+b pressed loop. Finally I dragged two show leds blocks and made the face looking left and another looking right. This means that when button a and b are pressed together it’ll look one way then the other.