Skip to content

Commit

Permalink
Added Radio frequency Band, set on 100
Browse files Browse the repository at this point in the history
  • Loading branch information
Makerspace1 committed Mar 28, 2024
1 parent d1d48ae commit 6f8eb82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion main.blocks

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,12 @@ let commandMotorName = ""
let commandMotorDuration = 0
let commandQueue: string[] = []
let maxMessageLength = 0
let receivedCommand = ""
let radioRecBuffer = ""
let commandMotorSpeed = 0
let radioRecBuffer = ""
let receivedCommand = ""
maxMessageLength = 18
radio.setGroup(1)
radio.setFrequencyBand(100)
basic.showString("Init")
rovershield.servo(rovershield.Servos.S1, 90)
rovershield.servo(rovershield.Servos.S2, 90)
Expand Down
4 changes: 2 additions & 2 deletions pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"test.ts"
],
"targetVersions": {
"target": "5.0.12",
"target": "6.0.25",
"targetId": "microbit"
},
"supportedTargets": [
"microbit"
],
"preferredEditor": "tsprj"
"preferredEditor": "blocksprj"
}

0 comments on commit 6f8eb82

Please sign in to comment.