Programming with the GPIO Pins
Now that we've gotten a feel for TinkerOS, we can look a little deeper at the functionality of the Tinker Board, specifically with programming and the GPIO pins. We discussed what the GPIO pins are in Chapter 1, but to refresh, the GPIO (general purpose input and output) pins are the exposed pins along the edge of the Tinker Board. All of them are numbered and have different functionality, which is expressed by a color directly under the pin. For example, 5V pins have a red pad underneath them and ground pins have a black pad, as shown in Figure 5-1.