Compute Module IO Board Plus User Manual
⚫
Execute command to enter the folder of program
cd /home/pi/CM3/DS18B20/fs/
Execute command to run the program
⚫
sudo ./ds18b20
PYTHON CODE
⚫
Execute command to enter the folder of program
cd /home/pi/CM3/DS18B20/python/
⚫
Execute command to run the program
sudo ./ds18b20.py
EXPECTED RESULT
The terminal will output the temperature value measured by DS18B20.
RTC DS3231
BCM2835 CODE
⚫
Execute command to enter the folder of program
cd /home/pi/CM3/DS3231/bcm2835/
⚫
Execute command to run the program
sudo ./ds3231
W IRINGPI CODE
⚫
Execute command to enter the folder of program
cd /home/pi/CM3/DS3231/wiringPi/
Execute command to run the program
⚫
sudo ./ds3231
PYTHON CODE
Version:V1.0,Date:20171101
12