Texy; YES, the author is Eben Upton. The mistakes in chapter 15 I was referring to have to do with the casual references to GPIO pins such as "GPIO Pin 1", for example. If you look at the diagram on page 226 (3rd Ed.) Figure 15-3, "The Raspberry Pi Model B+ GPIO pinout", nowhere on the diagram can you find "GPIO Pin 1". So are we then to equate the 40 pin header pin 6 (ground) with GPIO Pin 6 as shown on page 234 (Fig. 15-5)? If so, then when do we NOT make such associations. The problem is simple -- the references are NOT CONSISTENT. The solution is also simple -- EITHER refer to GPIO pins numbers OR header pin numbers but not sometimes to one and then other times to the other. I think the best way to refer to pins is by using the header pin number with the GPIO pin number in parentheses. e.g. Since the GPIO is accessed via a header identified as P1 on the silk screen, then "P1-6 (gnd)" would be clear as would "P1-32 (GPIO pin 12)".texy wrote:Hi Ray,ray.leiter wrote:Hello;
I'm Ray from Mechanicsburg, PA, USA (I really like alliteration).
I was trained in digital electronics by the USAF in 1962 as a technician on Project 465L.
Project 465L was the Strategic Air Command's Command and Control System used to manage Atlas ICBMs (at that time).
I majored in Mathematics and am now retired from the US NAVY (as a civilian) after 36 years in IT (or what may be ICT in the UK).
Actually, we originally called it ADP (Automatic Data Processing).
I am a stamp collector (US only) and like to tinker with things.
I am currently sponsoring a young man from Mbeya, Tanzania (Eliezer) who likes Mathematics and computers.
He is very focused on his studies and so cannot spend much time with me in my tinkering.
I recently decided to explore the Pi, both software and hardware wise.
I began by buying "Raspberry Pi Users Guide" and very much enjoyed reading the Introduction.
I skipped ahead to chapter 15, "The GPIO Port" and after seeing the mistakes, became somewhat discouraged considering I have the 3rd Edition of the work!
I'm hoping to find Errata for the book (perhaps on the publishers website).
As my first project for the Pi, I'd like to use it to control a coffee machine via my phone.
I look forward to meeting many Pi enthusiasts and learning much from them.
Thanks for listening. --Ray
welcome to the forum. Is that the book authored by some guy called Eben Upton?
Can you elaborate on the GPIO Port chapter mistakes?
The other area where there appears to be a mistake is in the diagram "Fig 15-5" on page 234 showing "GPIO Pin 11" which should probably be "GPIO Pin 11" (as determined by looking at the code; or the code is wrong!).
I don't wish to appear overly critical of the book -- I like it, but it is the 3rd edition!