Technical requirements
The software tools that you will be using in this chapter are the MPLAB X and Arduino IDEs, for editing and uploading your programs to the Curiosity Nano and the Blue Pill microcontroller boards, respectively.
The code that will be used in this chapter can be found in this book's GitHub repository: https://github.com/PacktPublishing/DIY-Microcontroller-Projects-for-Hobbyists/tree/master/Chapter05
The Code in Action video for this chapter can be found here: https://bit.ly/2UiRHVP
In this chapter, we will be using 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.
- Green and yellow LEDs.
- Two 220-ohm resistors rated...