Skip to content

Commit

Permalink
trouble shooting motor speed
Browse files Browse the repository at this point in the history
  • Loading branch information
kummermi committed Jul 9, 2024
1 parent c80a5c5 commit 6f3699b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,18 @@ namespace nanoMedForLife {
motor.MotorRun(motor.Motors.M1, motor.Dir.CW, motorPowerX)
dataReceived = false
} else {
basic.showNumber(dataReceived)
motor.motorStop(motor.Motors.M1)
}
}

/**
* Function for setting the advancer reading frequency of the joystick command
* @param zeit sets the time constant for reading out the advancer speed
*
*/
//% wight=86 blockId=setAdvancerReadFrequency block='setze Advancer Zeitkonstante auf |%zeit| ms'
export function setAdvancerReadTime (number: zeit = 40) {

}
}

0 comments on commit 6f3699b

Please sign in to comment.