User manual

Ausgabe 07.12.2016 Copyright by Joy-IT 19
3
RPi - Explorer700
12. OLED sample programs
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 OLED shows the LOGO of Waveshare for 2 seconds, and then it will switch to
display the current system me.
Press the keys Ctrl+C to end the program.
wiringPi 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 OLED shows the LOGO of Waveshare for 2 seconds, and then it will switch to
display the current system me.
Press the keys Ctrl+C to end the program.
pi@raspberrypi ~/Explorer700/OLED/wiringPi $
pi@raspberrypi ~/Explorer700/OLED/bcm2835 $ sudo ./main
pi@raspberrypi ~/Explorer700/OLED/bcm2835 $
pi@raspberrypi ~/Explorer700/OLED/wiringPi $ sudo ./main