Skip to content

Commit

Permalink
getting closer
Browse files Browse the repository at this point in the history
  • Loading branch information
kummermi committed Jun 26, 2024
1 parent 8f11ce3 commit 5ff6f49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace nanoMedForLife {
export function init() {
handlebit.initialize()
//radio.setGroup(radioGroup)
basic.showNumber(radioGroup)
// basic.showNumber(radioGroup)
}

/**
Expand Down Expand Up @@ -265,8 +265,10 @@ namespace nanoMedForLife {
let motorPowerX = lastReceivedNumber
if (motorPowerX > 2 || motorPowerX < -2) {
motor.MotorRun(motor.Motors.M1, motor.Dir.CW, motorPowerX)
basic.showNumber(motorPowerX)
// basic.showNumber(motorPowerX)
motorPowerX = 0
} else {
motor.motorStop(motor.Motors.M1)
}
}
}

0 comments on commit 5ff6f49

Please sign in to comment.