mirror of
https://github.com/FliegendeWurst/raspi-oled.git
synced 2024-11-21 09:54:59 +00:00
raspi-oled demo in rust
images | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
events_weekly.json | ||
LICENSE | ||
README.md | ||
rustfmt.toml | ||
shell.nix |
raspi demo for OLED ssd1351 display
Quick start
> nix-shell
> rustup target add arm-unknown-linux-musleabihf
> cargo build --release --target arm-unknown-linux-musleabihf
> scp target/arm-unknown-linux-musleabihf/release/{display_all,display_off,refresh_json,take_measurement} 'pi@raspberrypi:~'
> # on the Pi:
> patchelf --set-interpreter /lib/ld-linux-armhf.so.3 display_all
> ./display_off on
> ./display_all sensors.db events.json temps