モーターを回す程度のライブラリ
Revision 1:dd7259ae444a, committed 2017-02-18
- Comitter:
- Gaku0606
- Date:
- Sat Feb 18 12:31:20 2017 +0000
- Parent:
- 0:eb65057bbb64
- Commit message:
- a
Changed in this revision
motor_driver.hpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/motor_driver.hpp Sat Feb 18 12:26:54 2017 +0000 +++ b/motor_driver.hpp Sat Feb 18 12:31:20 2017 +0000 @@ -3,8 +3,19 @@ #include "mbed.h" +/** +* @bref モーターを回すライブラリ +* @author Gaku MATSUMOTO +* @date 2017/02/18 +*/ class motor_driver{ + /** + @param r_f 右の前進ピン + @param r_b 右の後進ピン + @param l_f 左の前進ピン + @param l_b 左の後進ピン + */ public: motor_driver(PinName r_f, PinName r_b, PinName l_f, PinName l_b, PinName r_st, PinName l_st);