Since the first Raspberry Pi model B revision 1 was released in 2012, there have been a number of upgrades to the original hardware. These new versions of the Raspberry Pi have been largely compatible with the original device, but there are a few changes to both the hardware and the standard Raspbian operating distribution that warrant a new edition of this book.
Much of this book is concerned with learning Python, the most common programming language used with the Raspberry Pi, and this remains largely unchanged. However, Chapters 9 to 11, which deal with hardware, have changed somewhat, and this edition adds a new project chapter demonstrating the use of a Tkinter user interface to control the color of an RGB LED.
In most cases anything said in the book about the Raspberry Pi applies equally to the Raspberry Pi 2, so for simplicity I will just use the term Raspberry Pi to refer to both the Pi and the Pi 2 unless the situation needs a distinction to be drawn.