aw-lights/README.adoc
2021-10-10 16:43:08 +01:00

32 lines
414 B
Plaintext

= aw-lights
== Setup
[source,bash]
----
xbps-install fake-hwclock
ln -s /etc/sv/fake-hwclock/ /var/service/
# Enable SPI
echo 'dtparam=spi=on' >>/boot/config.txt
# Allow big buf for SPI
echo 'options spidev bufsiz=65536' > /etc/modprobe.d/spidev.conf
----
Set CPU clock
* RPI3
+
[title='/boot/config.txt']
----
core_freq=250
----
* RPI4
+
[title='/boot/config.txt']
----
core_freq=500
core_freq_min=500
----