Errata

Getting Started With Arduino

Errata for Getting Started With Arduino, Fourth Edition

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
O'Reilly learning platform Page Coding in Chapter 6
fucntion fetchData in Example 6-1

------Original-----------
if (peace > 64) peace = 64;
if (love > 64) love = 64;
if (arduino > 64) arduino = 64;
peace = peace * 4; // multiply by 4 so that the max is 255,
love = love * 4; // which comes in handy when building a
arduino = arduino * 4; // colour that is made of 4 bytes (ARGB)
--------------------------

Mismatch between comment and code.
Variable peace, love and arduino can be 256.

Correct codes may be
---
if (peace > 64) peace = 64;
if (love > 64) love = 64;
if (arduino > 64) arduino = 64;
peace = peace * 4 - 1;
love = love * 4 - 1;
arduino = arduino * 4 - 1;
---


Anonymous  Nov 27, 2023 
Printed Page Front cover
Near bottom

Front cover shows: The Open Source Electronics Prototypying Platform"
Extra "y" inserted in Prototyping

Ronan Devlin  Jan 16, 2024