Pi Resources

File Manager

Re-install file manager when it crashes on start.

1
sudo apt-get install --reinstall pcmanfm

GPIO

GPIO (general-purpose input/output) values can be seen by running pinout, if you hold the pi vertically with the usb ports facing down the 5V pins are on the top left.

1
2
3
4
5
6
7
8
9
import RPi.GPIO as GPIO

# for GPIO numbering, choose BCM
GPIO.setmode(GPIO.BCM)

# or, for pin numbering, choose BOARD
GPIO.setmode(GPIO.BOARD)

# but you can't have both, so only use one

GPIO

.Net Core

References