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

Summary

In this chapter, we saw how to connect both a speaker and a piezo buzzer to an Arduino. We then learned how to use the tone() function to create sounds and also play a song. We also saw how we could install and use a third-party library so we could play RTTTL files.

In the next chapter, we will look at how we can use LCD displays to display messages.

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