EasyManua.ls Logo

Waveshare Compute Module IO Board Plus - RTC DS3231 Example

Default Icon
17 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Compute Module IO Board Plus User Manual
12
Version:V1.0,Date:20171101
⚫ 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
WIRINGPI 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