Arduino Cookbook

Errata for Arduino Cookbook

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
Printed, PDF Page 221
sketch

the sketch on this page returns errors that blinkLED is not declared

Anonymous  Dec 02, 2011 
Printed Page 253
function hueToRGB

Colour change of the LEDs is somewhat abrupt, due to (IMO) an error in the conversion function. segmentOffset = scaledHue - (segment * 256) always yields 0 because segment is defined as scaledHue / 256 Replacing it by segmentOffset = scaledHue % 256 gives a much smoother color change.

Fred Swart  Jun 25, 2012 
Printed Page 416
First line

The sketches in section 12.6 ("Using a Real-Time Clock") make use of the "DS1307RTC" library. However, this library does not appear to be distributed with the current (1.0.1) Arduino IDE. I did, however, find a version of this library (ie, .h and .cpp files, dated 6 Mar 2010) in the Google code repository and tried installing this locally. However, compiling against this library throws up a whole raft of errors, suggesting some incompatibility with the current suite of libraries.

Fred  Mar 24, 2013