Pushbutton with micro:bit
Before we put together the circuit, let's take a closer look at the Pushbutton Module. There are three pins here:
S : This is the signal pin which we will connect to a GPIO pin on the micro:bit
3.3V : Though it is unlabelled on the module, this middle pin will need to be connected to 3.3V on the micro:bit
GND: In electronics, we define a point in a circuit to be a kind of zero volts or 0V reference point, on which to base all other voltage measurements. This point is called ground or GND.