first

Dependents:   17robo_fuzi 17robo_tokyo_kaede

Committer:
echo_piyo
Date:
Wed Sep 20 07:06:29 2017 +0000
Revision:
0:e7a61140ec7d
(??)?????????????????encorder.h???????????

Who changed what in which revision?

UserRevisionLine numberNew contents of line
echo_piyo 0:e7a61140ec7d 1 /*
echo_piyo 0:e7a61140ec7d 2 * [Accelerator]
echo_piyo 0:e7a61140ec7d 3 * 時間を指定し段階的な加減速を行う
echo_piyo 0:e7a61140ec7d 4 */
echo_piyo 0:e7a61140ec7d 5
echo_piyo 0:e7a61140ec7d 6 #ifndef MBED_ACCELERATOR_H
echo_piyo 0:e7a61140ec7d 7 #define MBED_ACCELERATOR_H
echo_piyo 0:e7a61140ec7d 8
echo_piyo 0:e7a61140ec7d 9 #include "mbed.h"
echo_piyo 0:e7a61140ec7d 10
echo_piyo 0:e7a61140ec7d 11 class Accelerator{
echo_piyo 0:e7a61140ec7d 12 public :
echo_piyo 0:e7a61140ec7d 13 void setup(float Acceleration, float time);
echo_piyo 0:e7a61140ec7d 14 float duty(float target);
echo_piyo 0:e7a61140ec7d 15
echo_piyo 0:e7a61140ec7d 16 private :
echo_piyo 0:e7a61140ec7d 17 float a;
echo_piyo 0:e7a61140ec7d 18 float v;
echo_piyo 0:e7a61140ec7d 19 };
echo_piyo 0:e7a61140ec7d 20
echo_piyo 0:e7a61140ec7d 21 #endif