Ever seen a hardware guy faint?
breadboard schmedboard . . .
Yellow wire – goes to gpio pin 4 (Broadcom layout)
Red wire – goes to 3v
Blue wire – ground
You could have had all my apps and a no compete for 12 Billion!
Forgot something IMPORTANT !!
Here is adafruit’s tutorial in case I forget something else.
Left this out:
Start by adding the following line to /boot/config.txt
sudo nano /boot/config.txt
scroll to the bottom
reboot the Raspberry Pi by typing:
When the Pi is back up you should have everything setup for the below code to work.
Here is the code to display the temperature reading: