jp.digitalmuseum.mr.entity
クラス Noopy2.DCMotorController
java.lang.Object
jp.digitalmuseum.mr.entity.ResourceAbstractImpl
jp.digitalmuseum.mr.entity.PhysicalResourceAbstractImpl
jp.digitalmuseum.mr.entity.Noopy2.NoopyExtension
jp.digitalmuseum.mr.entity.Noopy2.DCMotorController
-
すべての実装されたインタフェース:
- java.io.Serializable, ExclusiveResource, Resource
- 含まれているクラス:
- Noopy2
-
public static class Noopy2.DCMotorController
- extends Noopy2.NoopyExtension
- implements ExclusiveResource
- 関連項目:
- 直列化された形式
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Noopy2.DCMotorController
public Noopy2.DCMotorController(Noopy2 noopy,
Noopy2.Port port)
onFree
protected void onFree()
- クラス
ResourceAbstractImpl
の記述:
- Called when disposing this resource.
Caution: This method should not be called outside this class.
- オーバーライド:
- クラス
ResourceAbstractImpl
内の onFree
- 関連項目:
ResourceAbstractImpl.free(Object)
clw
public void clw()
ccw
public void ccw()
drive
public void drive()
drive
public void drive(boolean counterClockWise)
drive
public void drive(Noopy2.DCMotorController.Command command)
drive
public void drive(Noopy2.DCMotorController.Command command,
int speed)
stop
public void stop()
setSpeed
public void setSpeed(int speed)
- パラメータ:
-
speed
- Speed (0-255)
getSpeed
public int getSpeed()
getStatus
public Noopy2.DCMotorController.Command getStatus()
Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/