Skip to content

Commit

Permalink
working rudder, motor after swapping to 8250 has odd behavior (stays …
Browse files Browse the repository at this point in the history
…full speed).

encountered hardware failing, freezing for now.
  • Loading branch information
jpoisso committed Aug 19, 2024
1 parent 49aaa5c commit f343024
Show file tree
Hide file tree
Showing 13 changed files with 214 additions and 186 deletions.
94 changes: 49 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ log = { version = "0.4.22", default-features = false }
esp-idf-svc = { version = "0.49.1", features = ["default", "pio", "embassy-sync", "critical-section"], default-features = false }
embedded-svc = { version = "0.28.0", features = ["std"], default-features = false}
anyhow = { version = "1.0.86", features = ["std"], default-features = false}
serde = { version = "1.0.207", features = ["std", "derive"], default-features = false}
serde_json = { version = "1.0.124", features = ["std"], default-features = false}
serde = { version = "1.0.208", features = ["std", "derive"], default-features = false}
serde_json = { version = "1.0.125", features = ["std"], default-features = false}

[build-dependencies]
embuild = "0.32.0"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ POST http://192.168.4.64/boat
Content-Type: application/json
{
"motor_speed": 255,
"rudder_angle": 90
"motor_speed": "120",
"rudder_angle": "90"
}
```
Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fn main() {
embuild::espidf::sysenv::output();
println!("cargo:rustc-env=WIFI_AP_MODE=1"); // Set to anything else for client mode (connects to your netwok)
println!("cargo:rustc-env=WIFI_SSID=WIFI_BOAT_HOTSPOT"); // Replace with your own SSID (AP SSID or Network SSID)
println!("cargo:rustc-env=WIFI_AP_MODE=1"); // Set to 1 for AP mode, anything else for client mode (connects to your netwok)
println!("cargo:rustc-env=WIFI_SSID=Boat_Hotspot"); // Replace with your own SSID (AP SSID or Network SSID)
println!("cargo:rustc-env=WIFI_PASSWORD=password"); // Replace with your own password (AP password or Network password)
}
2 changes: 1 addition & 1 deletion espflash.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ vid = "303a"
pid = "1001"

[flash]
size = "8MB"
size = "16MB"
Loading

0 comments on commit f343024

Please sign in to comment.