Difference between revisions of "Raspberry PI"
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
<source lang='bash'> | <source lang='bash'> | ||
apt-get install oracle-java8-jdk | apt-get install oracle-java8-jdk | ||
+ | </source> | ||
+ | == Run script === | ||
+ | If you have an official touchscreen you can control the brightness of the screen with the darkmode button of can4eve. | ||
+ | |||
+ | You might want to make sure that you use the run script to start the app. The important lines are: | ||
+ | <source lang='bash'> | ||
+ | sudo chmod 0664 /sys/class/backlight/rpi_backlight/brightness | ||
+ | sudo chown root.pi /sys/class/backlight/rpi_backlight/brightness | ||
</source> | </source> |
Revision as of 17:24, 22 January 2019
To run on a Raspberry PI you need a properly configured device. See e.g. http://ion.bitplan.com/index.php/Ion2017-07-18#Raspberry_PI
Hardware
See e.g.
Raspberry Setup
You'll find setup guides all over the internet here are just two links:
- https://www.macworld.co.uk/how-to/mac/how-to-set-up-raspberry-pi-3-with-mac-3637490/
- https://www.raspberrypi.org/downloads/raspbian/
Software configuration
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Java 8 installation
apt-get install oracle-java8-jdk
Run script =
If you have an official touchscreen you can control the brightness of the screen with the darkmode button of can4eve.
You might want to make sure that you use the run script to start the app. The important lines are:
sudo chmod 0664 /sys/class/backlight/rpi_backlight/brightness
sudo chown root.pi /sys/class/backlight/rpi_backlight/brightness