Note: This program code is nested. The parameter block "digital read pin P1" is executed first and the result (state of the pushbutton) is transferred to the block "digital write pin P2", which switches the LED on or off.
- short leg: GND (-)
- long leg: analog output (P2)
- outer leg: digital input (P1)
- outer leg: VCC (+)
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.