raspi-oled demo in rust
Go to file
2022-05-06 11:00:17 +02:00
images Colored events + ... 2022-05-06 11:00:17 +02:00
src Colored events + ... 2022-05-06 11:00:17 +02:00
.gitignore Colored events + ... 2022-05-06 11:00:17 +02:00
Cargo.lock Colored events + ... 2022-05-06 11:00:17 +02:00
Cargo.toml Colored events + ... 2022-05-06 11:00:17 +02:00
events_weekly.json Colored events + ... 2022-05-06 11:00:17 +02:00
LICENSE Various changes.. 2022-05-06 11:00:10 +02:00
README.md Colored events + ... 2022-05-06 11:00:17 +02:00
rustfmt.toml Reformat code 2022-05-06 11:00:10 +02:00
shell.nix Unbundle sqlite3 and link it instead 2022-05-06 11:00:10 +02:00

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

Example

picture

primitive