Difference between revisions of "NU32 Book Errata"
From Mech
Jump to navigationJump to searchLine 6: | Line 6: | ||
'''Chapter 3: Software''' |
'''Chapter 3: Software''' |
||
* The last line of typeset code should begin <code>LATFbits.LATF0</code>, not <code>LATA5LATFbits.LATF0</code>. |
* page 43: The last line of typeset code should begin <code>LATFbits.LATF0</code>, not <code>LATA5LATFbits.LATF0</code>. |
||
* page 47: The description of bit fields near the bottom of the page is misleading. Each named set of bits is a bit field. The <code>struct</code>s are collections of bit fields. |
|||
'''Chapter 21: Sensors''' |
'''Chapter 21: Sensors''' |
||
Line 16: | Line 17: | ||
'''Appendix A: A Crash Course in C''' |
'''Appendix A: A Crash Course in C''' |
||
* page 523: <code>unit8_t</code> should be <code>uint8_t</code> |
* page 523: <code>unit8_t</code> should be <code>uint8_t</code> |
||
* page 564: After the gray box with <code>int sscanf...</code>, the next line should say "Instead of scanning from the keyboard, <code>sscanf</code> ..." |
|||
'''Appendix B: Circuits Review''' |
'''Appendix B: Circuits Review''' |
Revision as of 08:31, 9 April 2016
Below are errata for the book "Embedded Computing and Mechatronics with the PIC32 Microcontroller," Kevin M. Lynch, Nicholas Marchuk, and Matthew L. Elwin, Newnes/Elsevier 2015. For succinctness, typos are other minor errors that cannot lead to confusion are not reported here.
Throughout the book
- Due to fixed-width fonts chosen for typesetting code, sometimes two consecutive underscores _ _ appear as a single long line, and sometimes two consecutive minus signs -- appear as a single long line. For example, some code listings using the _ _ ISR macro appear to have a single long line before the ISR.
Chapter 3: Software
- page 43: The last line of typeset code should begin
LATFbits.LATF0
, notLATA5LATFbits.LATF0
. - page 47: The description of bit fields near the bottom of the page is misleading. Each named set of bits is a bit field. The
struct
s are collections of bit fields.
Chapter 21: Sensors
- The Greek letter psi in the summation block of Figure 21.22 (bottom) should be an uppercase sigma.
Chapter 22: Digital Signal Processing
- page 354, second-to-last sentence: should say "ratio G of their amplitudes"
Appendix A: A Crash Course in C
- page 523:
unit8_t
should beuint8_t
- page 564: After the gray box with
int sscanf...
, the next line should say "Instead of scanning from the keyboard,sscanf
..."
Appendix B: Circuits Review
- page 595: In the first sentence of "Application: Switch debouncing", it should read "clean falling edge from V to GND," not "clean falling edge from GND to V."
- page 602: The sentence after the first set of bullets should say "When , the power dissipated by the transistor is ."