Technical requirements
The software tools that you will be using in this chapter are the Arduino IDE and the MPLAB-X for editing and uploading your programs to the Blue Pill and the Curiosity Nano boards, respectively.
The code used in this chapter can be found in the book's GitHub repository here:
https://github.com/PacktPublishing/DIY-Microcontroller-Projects-for-Hobbyists/tree/master/Chapter04
The Code in Action video for this chapter can be found here: https://bit.ly/3gNY4bt
In this chapter, we will also use the following pieces of hardware:
- A solderless breadboard.
- The Blue Pill and Curiosity Nano microcontroller boards.
- A micro-USB cable for connecting your microcontroller boards to a computer.
- The ST-Link/V2 electronic interface needed for uploading the compiled code to the Blue Pill. Bear in mind that the ST-Link/V2 requires four female-to-female DuPont wires.
- A green, yellow, and red LED.
- Three 220-ohm resistors rated at one-quarter...