Control screen for Omega Onion2 to show some system information like IP etc. Pure shell scripts
- Connect OLED display Power, Ground, SDA and SCL to Omega
- Connect pushbutton to GPIO18 and +3.3. Additionally I connected 10K resistor to GPIO18 and Ground
- Connect LED to GPIO19 and Ground
- Copy
control_screen.sh
to/root
- Copy
control_screen
to/etc/init.d
- Enable it
/etc/init.d/control_screen enable
- Run it
/etc/init.d/control_screen start
- Press button for a second to see IP. Screen will be turned off after 10 seconds