小日向さんのMDライブラリ

Dependents:   00_yotsuba 10_motor-test 00_yotsuba 200_yotsuba_21 ... more

Embed: (wiki syntax)

« Back to documentation index

KohiMD Class Reference

KohiMD Class Reference

Includes. More...

#include <kohiMD.h>

Public Member Functions

 KohiMD (PinName pwmPin)
 小日向さんのロボカップ用モータードライバのライブラリです
void setSpeed (double speed_)
 モータードライバに出力

Detailed Description

Includes.

1pin blue motor driver :)

Definition at line 14 of file kohiMD.h.


Constructor & Destructor Documentation

KohiMD ( PinName  pwmPin )

小日向さんのロボカップ用モータードライバのライブラリです

Parameters:
pwmPinPWM出力ピン

Definition at line 4 of file kohiMD.cpp.


Member Function Documentation

void setSpeed ( double  speed_ )

モータードライバに出力

Parameters:
speed-1.0 ~ 1.0

Definition at line 14 of file kohiMD.cpp.