Japanese version is here.
Reference: rust-lang
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
pinout
In this program, I suppose that the servo's signal line is connected to pin 16 (GPIO 23).
cargo run
If you want to set range of motion manually, run like below.
cargo run -- -h 1800 -l 1200
You can kill this process by Ctrl+c
.