Skip to content

Commit

Permalink
fix: set correct default "get distance" pins for nano robots (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoesbergen authored Oct 11, 2024
1 parent a07b2f3 commit 37e0e06
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/lib/domain/blockly/toolbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ export default [
{
type: "leaphy_sonar_read",
fields: { TRIG_PIN: "8", ECHO_PIN: "7" },
robots: [
...robotGroups.ALL,
...robotGroups.L_NANO_ALL.map((e) => -e),
],
},
{
type: "leaphy_sonar_read",
fields: { TRIG_PIN: "17", ECHO_PIN: "16" },
robots: robotGroups.L_NANO_ALL,
},
],
[
Expand Down

0 comments on commit 37e0e06

Please sign in to comment.