Rasberry Pi: Difference between revisions
Jump to navigation
Jump to search
NickPGSmith (talk | contribs) |
NickPGSmith (talk | contribs) |
||
Line 18: | Line 18: | ||
apt update && sudo apt upgrade -y | apt update && sudo apt upgrade -y | ||
=== Install HTTPD === | |||
apt install httpd2 | |||
=== Change swap === | === Change swap === |
Revision as of 05:36, 1 May 2024
Device
Windows IOT
Rasberry Pi OS
See /boot/firmware/config.txt.
Command line configuration program:
raspi-config
Upgrades
apt update && sudo apt upgrade -y
Install HTTPD
apt install httpd2
Change swap
dphys-swapfile swapoff
Edit /etc/dphys-swapfile, eg 1 GB:
CONF_SWAPSIZE=1024
dphys-swapfile setup dphys-swapfile swapon
Composite Video
Note: CVBS is on sleve; Gnd is ring 3. It is enabled when no HDMI monitor is connected.
In config.txt, set for PAL (UK):
- sdtv_mode=2
Temperature
Divide value by 1000 to get temp in C:
- /sys/class/thermal/thermal_zone0/temp
CPU Core throttling above 80 C.