Errata
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 | Page 18 Sample code comments |
The abbreviation "LED" is lower case in the comment, "enable output on the led pin." This is repeated in all sketches on pages 18-20. |
Deane Simpson | Apr 02, 2016 |
Printed | Page 20 Sample code comments |
The Blink sketch was modified for a speaker connected to an output pin, but the comments still refer to an LED (i.e., enable output to the led pin, set the LED on, set the LED off). |
Deane Simpson | Apr 02, 2016 |
Printed | Page 27 2.3 |
The sketch float value have compiling problems. The function almostEqual is declared not in this scope. Such is the advise of compiler. I seem that the same problems as been found by others customer. |
Franco | Feb 16, 2018 |
Printed | Page 27 2.3 Solution |
Repeat of earlier post noting same problem: |
Mark | Sep 30, 2018 |
Printed | Page 46 Code for blink2 |
Code for blink2 example sketch calls variable "count", but never defines it. I'm a rote beginner, so I'm not entirely sure how to fix it, but I'm happy that I noticed this while reading the book (and then confirmed it by programming it as written to be sure). Awesome book regardless! |
Dave J | Oct 17, 2014 |
Printed | Page 47 3rd paragraph |
The sketch provided did not stop led from flashing, when switch is pressed. |
franklin viloria | Jan 14, 2019 |
Printed | Page 65 Discussion paragraph |
Comments in code example read: |
Anonymous | Jun 27, 2014 |
Printed | Page 66 United Kingdom |
Line above Discussion. |
Phil Slater | Jul 12, 2014 |
Printed | Page 67 2nd to last paragraph |
In previous example on page 66, a intVal of 1 (which should be 0000000000000001 in 16-bit binary) is inverted and displayed in it's binary form. |
JohnBen Lacy | Jun 27, 2014 |
Printed | Page 77 3rd para |
I think that: |
Anonymous | Feb 20, 2015 |
Printed | Page 98 mid-page |
The code use Serial.println on several lines, but the output shown would be generated only with Serial.print, using Serial.Println only on the last field of the print. |
ron ginger | Feb 09, 2015 |
Printed, PDF, ePub, Mobi | Page 116 line 6 |
int longValue = 1000; |
Anonymous | Feb 05, 2014 |
Printed, Other Digital Version | Page 120 United States |
The processing sketch listed under section 4.8 in the printed copy of the second edition as well as the code download from the Oreilly website produce an error(The function readStringUntil(char) does not exist.) when executed. The error occurs on line 24 * String inString = myPort.readStringUntil('\n');. |
Andrew Straws | Nov 28, 2014 |
Printed, PDF, ePub, Mobi, Other Digital Version | Page 130 top in the processing code |
the new Versions of processing(v2/3) don't know the commands |
Anonymous | Feb 02, 2017 |
Printed | Page 139 Figure 4.6 |
The text on page 139 accompanying Figure 4.6 suggests that the Arduino's digital pin 2 is connected to the serial LCD display's transmit line, but that connection isn't shown in Figure 4.6. Later, on page 141, mention is made of a unidirectional serial device, in terms suggesting that this may be what's shown in Figure 4.6. I'm not suggesting that there's an error in the book but I'm wondering if some form of clarification might be appropriate. |
Anonymous | Dec 30, 2013 |
Printed | Page 149 Figure 5-2 |
The figure of the Mega board, on the right side, that shows the "digital" section has an error. In the upper right hand corner the figure shows the two pins, above pin 22, to be Gnd. |
James Gallivan | Aug 31, 2013 |
Page 155 Code on top of page |
In the void loop() section of the code, you put the following: |
xKoldFuzionx | Jun 22, 2013 | |
Printed, PDF | Page 221 sketch |
the sketch on this page returns errors that blinkLED is not declared |
Anonymous | Dec 02, 2011 |
Page 248 Code in the solution |
In the solution to adjust the brighness of LEDs, the LEDs are eased in and faded out by writing to the analog pins. However this, solutions contains an 'of by one' error inside the loop. If analogWrite() has a analog value greater than 255, the LEDs go of. This results in a visible flicker because the LEDs are off for 10ms, because the brightness reaches 256 for 10ms. |
maarten | Jan 16, 2014 | |
Printed | Page 253 function hueToRGB |
Colour change of the LEDs is somewhat abrupt, due to (IMO) an error in the conversion function. |
Fred Swart | Jun 25, 2012 |
Printed | Page 273-274 schematic 7-12 on p 273 and 2nd paragraph on p 274 |
for Common Cathode display not only (as the text indicated) does the line isBitset = ! isBitset; be taken out of the code, but also (and this not mentioned) does the Common needs to be connected to Gnd rather than 5V in schematic Fig 7-12. |
Eloy Wouters | Nov 24, 2013 |
Page 274 Top |
If you use a common cathode diplay, connect the common pin to GND not to +5V. |
Richard Frank | Apr 18, 2014 | |
Printed | Page 275 bottom of page showDigit() function |
The sketch failed to run properly as all four digits were permanently on and not multiplexing. Adding the line ' digitalWrite( digitPins [digit], LOW ); ' after the line ' delay(5); ' corrected the problem. Final } also missing. |
Jim Parish | Dec 06, 2013 |
Printed | Page 284 Pins connection paragraph concerning daisy-chaining |
Concerning the exercise 7.14 TLC5940 example in Edition 2 Daisy-chain discussion. |
Anonymous | Sep 13, 2016 |
Printed | Page 342 Code for 9.6 "Controlling MIDI" |
(Downloadable code matches printed version) |
salsberyfamily | Sep 28, 2015 |
Printed | Page 399 second to last line of code in sketch |
Just before "Serial.println(duration); in void loop() section of recipe 12.2, you redefine a previously created variable "duration". |
Dave J | Oct 21, 2014 |
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 |
Page 422 Vietnam |
In the 3rd row : |
L? Kh?nh | Jun 06, 2014 | |
Printed, PDF | Page 439 United Kingdom |
Table 13.2 as written does not give the correct addresses in HEX from the corresponding A0,A1, A2. |
Phil Slater | Dec 06, 2014 |
Page 455 United States |
Inside the loop routine for the master arduino, there is no statement to actually read the character that is available from the serial port. The first statement inside the if should be "c = Serial.read();" |
jbernardis | Apr 21, 2015 | |
Page 495 Chapter 15 |
|
Rick Isaacs | Mar 26, 2016 | |
Printed | Page 502 In the setup section |
The ethernet connection is started with one parameter, signifying a DHCP request. However the comment states "... using mac & IP address". |
Paul Kroon | Feb 26, 2017 |
Page 612 18.4 code line "int duty = map(microseconds, 0,period, 0,1024);" |
The very same line in reported as int duty = map(microseconds, 0,period, 1,1023); in the discussion session on p.614 last line just before "See Also" section. |
Anonymous | May 06, 2014 | |
Printed | Page 615 60% down the page |
The line; |
Anonymous | Aug 27, 2016 |