I recently volunteered at a local Girls Who Code event and was introduced to a free (I love free) online, block-oriented programming environment called Makecode from Adafruit. You just drag blocks (e.g. Light, Input, Music) to the right side of the screen and combine them to cause the circular circuit on the left side to change color, play sounds and music, change volume or brightness, or whatever your imagination can cook up.
The example below executes when Button A is clicked, turns all the lights red, waits for a second, changes them to blue, waits for another second, and finally turns them green. You can give it a go at the link below.
No comments:
Post a Comment