Chapter 5 Working with Digital Inputs Polling and Interrupts