NobleBlocks

Research indexBook chapter

Arduino Programming 2

Cullen

Focal Press eBooks21 Sep 2026

NobleIDark:/48914/w1/20261105/9F59FD1CDOI10.4324/9781003200222-4

Paywalled

The full text is at the publisher

You can read the abstract here, or open it at the publisher.

Read at the publisher

Abstract

This chapter begins by introducing arrays as a data structure and the use of iteration instructions to work with. The chapter then moves on to the use of state variables to retain information about the operation of an application, which is significantly expanded later in the book with the Juce ValueTree. The chapter also introduces the use of functions to group code for easier reuse, where even the Arduino can benefit from moving groups of instructions out of loop() and into dedicated calls. Handling non-ideal inputs by debouncing using timers is also discussed, before moving on to the use of the I2C protocol – specifically for OLED display output.

More

Suggest a correction or report