mirror of
https://github.com/FliegendeWurst/raspi-oled.git
synced 2024-11-25 03:34:58 +00:00
docs: build using Nix
This commit is contained in:
parent
825d89e6a0
commit
98acedca0e
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
||||
# raspi demo for oled ssd1306 display
|
||||
|
||||
## Quick start
|
||||
|
||||
> nix-shell
|
||||
>
|
||||
> rustup target add arm-unknown-linux-musleabihf
|
||||
>
|
||||
> cargo build --release --target arm-unknown-linux-musleabihf
|
||||
|
||||
Then scp the release file to your raspi.
|
||||
|
||||
## Example
|
||||
|
||||
![picture](./images/01.jpg)
|
||||
|
||||
![primitive](./images/02.jpg)
|
Loading…
Reference in New Issue
Block a user