node-red-config.h 808 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * node-red-config.h
  3. *
  4. * Created on: Jun 14, 2024
  5. * Author: jakubski
  6. */
  7. #ifndef INC_NODE_RED_CONFIG_H_
  8. #define INC_NODE_RED_CONFIG_H_
  9. #define PV_BOARD
  10. #define FEATURE_ON 1
  11. #define FEATURE_OFF 0
  12. #define UART_TASK_LOGS FEATURE_ON
  13. #define ENCODER_X_IMP_PER_TURN 20
  14. #define ENCODER_Y_IMP_PER_TURN 20
  15. #define MAX_X_AXE_ANGLE 360 // Max angle value for 100% range
  16. #define MAX_Y_AXE_ANGLE 360 // Max angle value for 100% range
  17. #define MOTOR_START_STOP_PWM_VALUE 60
  18. #define MOTOR_HIGH_SPEED_PWM_VALUE 100
  19. #define ANGLE_RANGE_FOR_MOTOR_SPEED_LIMIT 5
  20. #define TIME_MS_FOR_MOTOR_SPEED_LIMIT 1000
  21. #define NO_MOVE_TIMEOUT_MS 10000
  22. #define WATCHDOG_ENABLED
  23. //#define USER_MOCKS
  24. //#define SERIAL_PROTOCOL_DBG
  25. //#define USE_UART8_INSTEAD_UART1
  26. //#define DBG_POSITION
  27. #endif /* INC_NODE_RED_CONFIG_H_ */