Summary
In this chapter, we discussed the importance of component testing and how to design the hardware and software components of your robots with testability in mind. It is crucial to split your systems into modules that can be tested individually before you combine them into a more complex system that can be difficult and frustrating to debug. We further learned how to use the Arduino IDE’s built-in Serial Monitor as a flexible tool during the testing phase of your project, allowing you to input arbitrary values and change any parameter of your program while it is running. Finally, we took a closer look at the Arduino IDE’s immensely useful Serial Plotter and discussed its features. This chapter concludes Part 2, Writing Effective and Reliable Robot Programs for Arduino, of this book, in which we learned a lot about writing effective, high-quality code for Arduino robots. Now that we know the components we can choose for our robot and how to write the code to use...