![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
aa
System/Using.h
- Committer:
- yabahiro
- Date:
- 2019-11-19
- Revision:
- 57:ccfd26b94d8a
- Parent:
- 30:8f092276b2ba
File content as of revision 57:ccfd26b94d8a:
#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 #define USE_TAPELED_NUM 5 //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