Go to file
2021-10-11 00:11:27 +01:00
.cargo Allow cross compilation 2021-08-10 08:13:23 -04:00
html Start work on webui 2021-08-08 14:15:38 -04:00
lib-ws2818-rgb-led-spi-driver Rename WS28xx* to Ws28xx* 2021-08-06 23:32:04 -04:00
liveview-rust Fix liveviewjs checkbox 2021-10-11 00:07:29 +01:00
src Handle rainbow with splitting in ui 2021-10-11 00:11:27 +01:00
templates Send data to strip and add css 2021-08-22 12:08:49 -04:00
web Merge 2021-10-10 15:56:42 +01:00
.gitignore Add liveview-rust 2021-08-18 10:02:40 -04:00
build.rs Clean up build scripts to work on non-nightly rust versions 2021-08-22 12:11:36 -04:00
Cargo.toml Fix cargo version 2021-08-21 17:15:26 -04:00
entr.sh Implement working form manipulation 2021-08-21 15:24:21 -04:00
Makefile Add svelte form files 2021-08-10 17:46:59 -04:00
README.adoc Use thread::sleep for better efficency 2021-10-10 16:43:08 +01:00
rustfmt.toml Use unstable Crate rustfmt option 2021-10-10 16:43:30 +01:00

= 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
----