MDX-15,20の制御用library
Diff: MDX20.h
- Revision:
- 8:e65e532d1933
- Parent:
- 6:b61356230acf
- Child:
- 9:5ee05e9c5aca
diff -r 54af1616e69e -r e65e532d1933 MDX20.h --- a/MDX20.h Mon Nov 28 12:04:59 2016 +0000 +++ b/MDX20.h Sat Dec 03 13:21:20 2016 +0000 @@ -22,6 +22,8 @@ uint8_t sendData(char* data); + int32_t axisMovingCheck(char* data); + uint8_t reciveData(void); int putc(int c); @@ -59,6 +61,16 @@ #define Z_x (0) #define Z_y (1) #define Z_z (2) + +#define Z_xAxisMin (0) +#define Z_xAxisMax (8128) + +#define Z_yAxisMin (0) +#define Z_yAxisMax (6096) + +#define Z_zAxisMin (-2420) +#define Z_zAxisMax (0) + }; #endif // MBED_MDX20_H \ No newline at end of file