-
Notifications
You must be signed in to change notification settings - Fork 13
Quick Setup
André Wehrli edited this page Feb 18, 2022
·
3 revisions
- Download and install Raspberry Pi OS on your Raspberry
- Open the config.txt on the Raspbery Pi boot partition and add:
dtparam=spi=on
#Add this line if you get "System.IO.IOException: Device or resource busy : '/sys/class/gpio/export'"
#dtoverlay=spi0-1cs,cs0_pin=28
- wget https://dot.net/v1/dotnet-install.sh (from https://docs.microsoft.com/de-de/dotnet/core/install/linux-scripted-manual#scripted-install)
- sudo /bin/bash dotnet-install.sh -c Current --install-dir /opt/dotnet
- vi /etc/profile.d/dotnet.sh with content:
export DOTNET_ROOT=/opt/dotnet
export PATH=$PATH:/opt/dotnet
- apt-get install libgdiplus
- reboot
- run dotnet --version to check if it is working
- Compile the example with your Display and copy the published files to the Raspberry Pi
- Go into the example directory and run: dotnet Waveshare.Example.dll
- Your display should start to flicer and show the image
- Have fun :-)