
126
Step 7: Run
sudo ./a.out
For Python users:
Step 5: Change directory and edit
cd /home/pi/SunFounder_SensorKit_for_RPi2/Python/
nano 26_ds18b20.py
Step 6: Run
sudo python 26_ds18b20.py
Now, you can see the current temperature value displayed on the screen.