O'Reilly logo

Mastering Arduino by Jon Hoffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

User feedback

We always want to provide some way to provide feedback to let us know what is going on with the robot. This is very handy when we are programming the robot for debugging purposes. If you recall the image of the BuddyBot from earlier in this chapter, the nose was lit up by a multicolor LEDs. The LED color indicated what the robot was supposed to be doing and if it detected obstacles on the left or right side. By seeing what color the LED was, I knew what the robot was supposed to be doing, and if it wasn't doing it, I knew something was wrong with the programming or hardware.

Using multicolor LEDs is one of the easiest and quickest ways to add feedback from our robot. We can very quickly set different colors to indicate different ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required