User manual

Ausgabe 07.12.2016 Copyright by Joy-IT 13
3
RPi - Explorer700
python program:
Enter the Linux terminal, and run the following commands to execute the program:
Expected result: The terminal will display the following informaon:
Press the keys Ctrl+C to end the program.
8. DS3231 sample programs - High precision RTC Demos
bcm2835 program:
Enter the Linux terminal, and run the following commands:
The command for compiling the program:
The command for execung the program:
Expected result: The terminal will display the following informaon:
Press the keys Ctrl+C to end the program.
Temperature: 34.20 C
Pressure: 1005.12 Pa
Altude: 67.66 m
pi@raspberrypi ~/Explorer700/DS3231/bcm2835 $ sudo ./ds3231
pi@raspberrypi ~/Explorer700/DS3231/bcm2835 $ make
pi@raspberrypi ~/Explorer700/BMP180/python $ sudo python BMP180_example.py
start..........
2015/08/12 18:00:00 Wed
2015/08/12 18:00:01 Wed
2015/08/12 18:00:02 Wed
2015/08/12 18:00:03 Wed