Learning about input and output pins
The first time we looked at the pinout diagram of the MKR WiFi 1010, we only discussed the digital and analog pins. Let’s revisit that diagram so that we can consider the other communication technologies that are available on the MKR board:
Figure 2.1 – Arduino MKR WiFi 1010 pinout diagram (source: https://docs.arduino.cc/static/9d6534bb9783a42e3527a8c03472ad10/ABX00023-full-pinout.pdf)
The preceding figure has some pins labeled in dark green. Take a look at the pins on the right-hand side of the board; you will see that they are grouped into three. These are communication protocols that are supported by the pins. We’ll discuss them next.
Digital pins 13 and 14 work together in tandem to support a protocol that is commonly called Serial. In Serial communications, data is transmitted one bit at a time. UART is short for Universal Asynchronous Receiver/Transmitter. The “Asynchronous...