-
install ubuntu for raspi onto sd card
-
do the /boot/network-config thing for wifi
-
add this to /boot/firmware/usercfg.txt:
display_lcd_rotate=1 dtoverlay=rpi-ft5406,touchscreen-swapped-x-y=1,touchscreen-inverted-x=1,touchscreen-inverted-y=0
-
set the timezone
timedatectl list-timezones sudo timedatectl set-timezone America/New_York
-
sudo apt-get install build-essential python3-pygame libgpiod-dev python3-libgpiod
-
sudo pip3 install -r requirements.txt
-
(if using 64 bit OS) compile libgpiod_pulsein for arm64
sudo apt install libgpiod-dev git build-essential git clone https://github.com/adafruit/libgpiod_pulsein.git cd libgpiod_pulsein/src make cp libgpiod_pulsein sudo cp libgpiod_pulsein /usr/local/lib/python3.8/dist-packages/adafruit_blinka/microcontroller/bcm283x/pulseio/libgpiod_pulsein
-
must run as root!
sudo ./run.sh
pettazz / delphi Goto Github PK
View Code? Open in Web Editor NEWa weird raspi experiment