first lib
Dependents: 17robo_fuzi 17robo_tokyo_kaede
limit.h
- Committer:
- echo_piyo
- Date:
- 2017-09-24
- Revision:
- 0:9665aacf40f0
File content as of revision 0:9665aacf40f0:
/* dataのmax,minの範囲内の数値を返す関数 limiti([int]data, [int]max, [int]min); //int用 limitf([float]data, [float]max, [float]min); //float用 */ #ifndef MBED_LIMIT_H #define MBED_LIMIT_H #include "mbed.h" int limiti(int data, int max, int min); float limitf(float data, float max, float min); #endif