Download Source Code
It's all explained in the book! Make Sensors explains each source code. You'll learn to understand both the physical phenomena and the protocol for talking with the sensor. This source code package is just to save you some typing.
In Linux, you can open the zip file with: '
unzip make-sensors-code-*.zip'. In Raspbian (Raspberry Pi), you might need to install unzip with '
sudo apt-get install unzip'.
Soon your gadgets can sense the world!