Dependents: servo_01 nhk_2018_undercarry_test08 nhk_2018_undercarry_test09 nhk_2018_undercarry_test10
XQ_servo.h
- Committer:
- kenken0721
- Date:
- 2018-03-18
- Revision:
- 0:6f76e98e01ad
File content as of revision 0:6f76e98e01ad:
#ifndef XQ_SERVO_H #define XQ_SERVO_H #include "mbed.h" class XQ_servo{ public : XQ_servo(PinName signal); void move(float value); private : PwmOut pwm; double map(double x, double in_min, double in_max, double out_min, double out_max); }; #endif