UCtronics OLED

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Maarten.Provo
    Dumb Home'r
    • 16.11.2020
    • 16

    #1

    UCtronics OLED

    Hello

    I just got my Loxberry up and running. It's running on a RPi4, in a rack-unit with a OLED-screen. I have a script to set the oled-screen up so that it will display IP, CPU and RAM usage for the Raspberry. But loxberry won't let me run anything as sudo.

    I have a guide @ https://www.uctronics.com/download/A...143_Manual.pdf which tells me to add this to /etc/rc.local

    cd /home/pi/U6143_ssd1306/C (I changed this to /opt/loxberry/uctronics/C where I placed the files)
    sudo make clean
    sudo make sudo ./display &
  • Christian Fenzl
    Lebende Foren Legende
    • 31.08.2015
    • 11234

    #2
    Do not place things into /opt/loxberry - it will be deleted with every LoxBerry Update.
    To run things as root, become root with su. Then, skip the sudo command.

    Your code will compile the display code on every startup...?
    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar

    Lädt...