Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino Essentials

You're reading from   Arduino Essentials Enter the world of Arduino and its peripherals and start creating interesting projects

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher Packt
ISBN-13 9781784398569
Length 206 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Meeting the Arduino Family 2. The Arduino Development Environment FREE CHAPTER 3. Interacting with the Environment the Digital Way 4. Controlling Outputs Softly with Analog Outputs 5. Sensing the Real World through Digital Inputs 6. Analog Inputs to Feel Between All and Nothing 7. Managing the Time Domain 8. Communicating with Others 9. Dealing with Interrupts 10. Arduino in a Real Case – Greenhouse Control Index

Summary


I'm sure you have got the point regarding interrupts with all the things we have seen in this chapter.

We have met and understood what an interrupt is and how the CPU attends to it by running an ISR, and we have even learned about their special characteristics and restrictions and that we should keep them as few as possible.

On the programming side, the only thing necessary to work with interrupts is to correctly attach the ISR with a call to the attachInterrupt() function.

From the point of view of hardware, we have assembled an encoder that has been attached to a spinning motor to account for its revolutions.

Finally, we have the code. We have seen a relatively long sketch, which is a sign that we are beginning to master the platform, are able to deal with a bigger number of peripherals, and that our projects require more complex software every time we have to deal with these peripherals and to accomplish all the other necessary tasks to meet what is specified in the project specifications...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime