![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
my new gear...
Diff: portSet.hpp
- Revision:
- 12:562f433b5e98
- Parent:
- 2:e7b09385d197
- Child:
- 13:31a44ed824b0
--- a/portSet.hpp Sat Jul 02 03:05:23 2022 +0000 +++ b/portSet.hpp Tue Jul 05 08:56:23 2022 +0000 @@ -1,10 +1,6 @@ #pragma once #include <mbed.h> -inline double constrain(double x,double minimum,double maximum){ - return (x < minimum ? minimum : x > maximum ? maximum : x); -} - typedef struct Port{ PinName pin[2]; }Port; \ No newline at end of file