© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
N. DunbarArduino InterruptsMaker Innovations Serieshttps://doi.org/10.1007/978-1-4842-9714-8_8

8. USART Interrupts

Norman Dunbar1  
(1)
Rawdon, West Yorkshire, UK
 

The USART has three separate interrupts available for use in your code, and this chapter will examine those. However, most applications that I have come across which use USART interrupts only use two of the available interrupts. This chapter is no different as the third interrupt tends to be a little more inefficient than its alternative. All will be revealed!

The USART may appear to be quite a complicated beast even without interrupts, but polling for data is a bad idea when communications are involved. ...

Get Arduino Interrupts: Harness the Power of Interrupts in Your Arduino and ATmega328 Code now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.