Arduino Interrupts: Harness the Power of Interrupts in Your Arduino and Atmega328 Code

Dunbar, Norman

  • 出版商: Apress
  • 出版日期: 2023-12-10
  • 定價: $1,960
  • 售價: 9.5$1,862
  • 貴賓價: 9.0$1,764
  • 語言: 英文
  • 頁數: 316
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 148429713X
  • ISBN-13: 9781484297131
  • 相關分類: Arduino
  • 立即出貨 (庫存=1)

商品描述

Improve your projects by leveraging the power of interrupts. This comprehensive guide makes it easy to understand and use interrupts with the ATmega328P microcontroller found on Arduino boards.

With over 20 interrupts available, this book covers almost all of them and provides background information on how they work. You'll work through the steps and code examples required to configure each of the covered interrupts. You'll also learn how to use them with Arduino, AVR C++ and with other development systems, like PlatformIO.

Interrupts can be intimidating, but by the end of this book, you will have the knowledge and skills to take full advantage of them and improve the performance and efficiency of your Arduino projects.

What You'll Learn

  • Understand interrupts and how they work
  • Make interrupts easier to use in code
  • Use interrupts in their Arduino sketches or AVR C++ applications
  • See how to use interrupts in the Arduino Language and in AVR C++
  • Avoid common pitfalls when working with interrupts

Who This Book Is For

Intermediate to advanced-level programmers who want to learn how to use interrupts in their Arduino sketches or AVR C++ applications..

商品描述(中文翻譯)

提升您的專案,善用中斷的力量。這本全面的指南將幫助您理解並使用Arduino板上的ATmega328P微控制器中斷。本書涵蓋了近20種中斷,並提供了它們的背景資訊。您將透過步驟和程式碼範例來配置每個中斷。您還將學習如何在Arduino、AVR C++和其他開發系統(如PlatformIO)中使用它們。

中斷可能會讓人感到困惑,但在閱讀本書結束時,您將具備充分的知識和技能,能夠充分利用中斷,提升Arduino專案的性能和效率。

您將學到以下內容:
- 理解中斷及其工作原理
- 讓程式碼中使用中斷更加容易
- 在Arduino程式或AVR C++應用中使用中斷
- 學習如何在Arduino語言和AVR C++中使用中斷
- 避免在處理中斷時常見的錯誤

本書適合中級到高級程式設計師,他們希望在Arduino程式或AVR C++應用中學習如何使用中斷。

作者簡介

​ Norman Dunbar is a retired Oracle Database Administrator. Norman has had a long-running relationship with Electronics since childhood and computers since the late 1970s, and the Arduino was a perfect marriage of the two interests. With a love of learning new things, and finding out how things work, examining and explaining the Arduino Language and the hardware became a bit of a hobby. As piles of notes expanded, and after the publication of his first book, Arduino Software Internals, he collected some more of his notes into another book.


作者簡介(中文翻譯)

Norman Dunbar是一位退休的Oracle資料庫管理員。Norman從小就對電子產品有著長期的興趣,自1970年代末開始接觸電腦,而Arduino則是這兩個興趣的完美結合。他熱愛學習新事物,並喜歡研究事物的運作原理,因此對Arduino語言和硬體的研究和解釋成為他的一種嗜好。隨著筆記的不斷擴充,以及他的第一本書《Arduino軟體內部》的出版,他將更多的筆記整理成了另一本書。