States of Matter @microbit_edu #microbit #microbitlove #microbitmonday

Iunnamed 2

Make a states of matter experiment that responds to your micro:bit wand or micro:bit’s movement! Via Makecode

Duration

The activity is approx 30-45 min based on familiarity with the coding concepts

Materials

  • Cardboard
  • Aluminum Foil
  • Permanent Markers (Red and Black)
  • 1 micro:bit, battery holder and 2 AAA batteries
  • 4 Crocodile clips

Step 1: Variables.

In order for States of Matter to follow the rules for determining the atmospheric temperature, we need to add variables that will store data. Then we will assign (set) the value of the variables. We want to name the two (2) variables as follows: “atmos_temperature” and “temperature”. Set the value of the variables to 100. Modify your code so that your code looks like this.

Code Microsoft MakeCode
See more!


3530 15Each Monday is Micro:bitMonday here at Adafruit! Designed specifically for kids and beginners, the micro:bit is a pocket-sized computer that you can code, customize and control to bring your digital ideas, games and apps to life! Play, learn, explore: get started with micro:bit! Adafruit is an authorized Micro:bit reseller- check out all of our posts, tutorials and Micro:bit related products!

Experimenting with your own Micro:bit project? Use the hashtag #microbitmonday so we can feature your inspiring work on the Adafruit blog!



from Adafruit Industries – Makers, hackers, artists, designers and engineers! http://ift.tt/2vbvta9
via IFTTT