Welcome to RDK X5 Robot repository
9.OLED display
OLED display
OLED display9.1, Statement9.2, Turn off OLED service9.3, Restart OLED service9.4. Permanently disable OLED service9.5. Automatically start OLED service at startup9.6. Check the status of OLED service
9.1, Statement
RDK-X5-Robot factory image system will start OLED service by default. After OLED service is started, /home/sunrise/sunriseRobot/app_SunriseRobot/oled.py file will be run. The function of this file is to drive the OLED screen to display system information and turn on the fan and lighting effects. So please do not move or modify this file casually to avoid the startup service failing to find the file.
9.2, Turn off OLED service
Since the factory system turns on OLED service by default, if you need to turn off OLED service, please run the following command to turn it off:
xxxxxxxxxxsudo systemctl stop yahboom_oled.service
If you need to turn off OLED service and turn off OLED, please enter the following command:
xxxxxxxxxxsh /home/sunrise/sunriseRobot/app_SunriseRobot/kill_oled.sh
9.3, Restart OLED service
Open the terminal and run the following command, and OLED service will restart.
xxxxxxxxxxsudo systemctl restart yahboom_oled.service
9.4. Permanently disable OLED service
Open the terminal and run the following command. The OLED service will not start the next time you start the computer.
xxxxxxxxxxsudo systemctl disable yahboom_oled.service
9.5. Automatically start OLED service at startup
Open the terminal and run the following command. The OLED service will start automatically the next time you start the computer.
xxxxxxxxxxsudo systemctl enable yahboom_oled.service
9.6. Check the status of OLED service
Since the OLED service is enabled by default when the system is shipped from the factory, if you need to disable the OLED service, please run the following command to disable it:
sudo systemctl status yahboom_oled.service