Buttons A and B control the light

Buttons A and B control the light

Physical computing - Master the challenges and experience how to connect the physical and virtual world


30 mins

from 8 years on

1What you need
- LED - 2 wires
####Connect an LED to the Calliope mini. When you press button A, the LED turns on. If you press button B, the LED will turn off again.

Note: A digital value of "1" means that the digital output at the pin will be switched up, i.e. the pin has a voltage of 3V. The value "0" means "no voltage at the pin".


LED (+/-)!

  • short leg: GND (-)
  • long leg: analog output (P2)

This text as well as the image is published under a CC BY-SA 4.0 DE license popup: yes. It was originally published in German popup: yes by phzh popup: yes and translated into English by the Calliope team.