removing tacho (#382)

This commit is contained in:
Peli de Halleux
2018-03-28 09:04:28 -07:00
committed by GitHub
parent f1ea113fc0
commit 8536126e23
4 changed files with 2 additions and 66 deletions

View File

@ -378,21 +378,6 @@ namespace motors {
return getMotorData(this._port).count;
}
/**
* Gets motor tachometer count.
* @param motor the port which connects to the motor
*/
//% blockId=motorTachoCount block="%motor|tacho"
//% weight=69
//% blockGap=8
//% group="Counters"
//% help=motors/motor/tacho
tacho(): number {
this.init();
return getMotorData(this._port).tachoCount;
}
/**
* Clears the motor count
*/