aa
Dependencies: mbed TrapezoidControl QEI
System/Using.h
- Committer:
- yabahiro
- Date:
- 2019-09-18
- Revision:
- 27:545148741493
- Parent:
- 21:1f1e9c585da8
File content as of revision 27:545148741493:
#ifndef USING_H_ #define USING_H_ //Communication #define USE_MU #define USE_BLUETOOTH #ifdef USE_BLUETOOTH # define BLUETOOTH_BUFFER_SIZE 64 const char disconnect = 0x03; #else # define BLUETOOTH_BUFFER_SIZE 0 #endif #define USE_MOTOR #ifdef USE_MOTOR # define MOUNTING_MOTOR_NUM 13 #else # define MOUNTING_MOTOR_NUM 0 #endif #define USE_RS485 #ifdef USE_RS485 # define RS485_BUFFER_SIZE 26 + BLUETOOTH_BUFFER_SIZE + MOUNTING_MOTOR_NUM-13 # define RS485_BUFFER_LINE 8 #else # define RS485_BUFFER_SIZE 0 # define RS485_BUFFER_LINE 0 #endif #define USE_SOLENOID //Communication //Output #define USE_LED #define USE_LED_NUM 4 //Output //Input #define USE_SWITCH #define USE_POTENTIOMETER #ifdef USE_POTENTIOMETER # define USE_POTENTIOMETER_NUM 4 #else # define USE_POTENTIOMETER_NUM 0 #endif #define USE_INT //Input #define USE_ERRORCHECK #define USE_DRIVECHECK #define USE_SUBPROCESS #ifdef USE_SUBPROCESS # define USE_PROCESS_NUM 10 //0 ~ 10 # define DEFAULT_PROCESS 0 #endif #endif