123456789101112131415161718192021222324252627282930313233343536 |
- /*
- * node-red-config.h
- *
- * Created on: Jun 14, 2024
- * Author: jakubski
- */
- #ifndef INC_NODE_RED_CONFIG_H_
- #define INC_NODE_RED_CONFIG_H_
- #define PV_BOARD
- #define FEATURE_ON 1
- #define FEATURE_OFF 0
- #define UART_TASK_LOGS FEATURE_ON
- #define ENCODER_X_IMP_PER_TURN 20
- #define ENCODER_Y_IMP_PER_TURN 20
- #define MAX_X_AXE_ANGLE 360 // Max angle value for 100% range
- #define MAX_Y_AXE_ANGLE 360 // Max angle value for 100% range
- #define MOTOR_START_STOP_PWM_VALUE 60
- #define MOTOR_HIGH_SPEED_PWM_VALUE 100
- #define ANGLE_RANGE_FOR_MOTOR_SPEED_LIMIT 5
- #define TIME_MS_FOR_MOTOR_SPEED_LIMIT 1000
- #define NO_MOVE_TIMEOUT_MS 10000
- #define WATCHDOG_ENABLED
- //#define USER_MOCKS
- //#define SERIAL_PROTOCOL_DBG
- //#define USE_UART8_INSTEAD_UART1
- //#define DBG_POSITION
- #endif /* INC_NODE_RED_CONFIG_H_ */
|