2023-08-29 10:04:07 +02:00
|
|
|
; Project configuration file
|
|
|
|
|
|
|
|
[config]
|
|
|
|
; Hardware Serial baud rate
|
|
|
|
; Also available in the code as `MONITOR_SPEED`
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
|
|
; Software Config
|
|
|
|
; note: additionnal flags are added by Platform.io (see total amount in `.vscode/c_cpp_properties.json` in the `defines` section)
|
|
|
|
; notworthy ones:
|
|
|
|
; __PLATFORMIO_BUILD_DEBUG__ = debug mode
|
|
|
|
build_flags =
|
|
|
|
; DO NOT TOUCH --- START
|
|
|
|
-D MONITOR_SPEED=${config.monitor_speed}
|
|
|
|
; DO NOT TOUCH --- END
|
2023-11-10 16:47:39 +01:00
|
|
|
-D WAITING_WIFI_DELAY=1000
|
2023-11-17 11:14:26 +01:00
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;;; stepper config ;;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;
|
2024-01-18 15:25:33 +01:00
|
|
|
-D STEPMOTOR_I2C_ADDR=0x70
|
2023-11-23 12:04:37 +01:00
|
|
|
-D STEPER_ACC=200
|
|
|
|
;-D STEPER_PAS=755.906 ; = 65mm
|
|
|
|
-D STEPER_PAS=58 ; = 5mm
|
2024-01-18 15:25:33 +01:00
|
|
|
-D STEPER_SPEED=1000 ; 12000
|
2024-01-19 16:48:08 +01:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;;; App config ;;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;
|
2024-01-19 16:40:28 +01:00
|
|
|
-D APP_TITLE=\"Warehouse\"
|
|
|
|
-D APP_VERSION=\"1.0\"
|
2024-01-19 11:51:59 +01:00
|
|
|
; nfc addr
|
|
|
|
-D NFC_ADDR=0x28
|
2024-01-19 16:48:08 +01:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;
|
2024-01-19 16:37:35 +01:00
|
|
|
;;; Servo config ;;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
-D RIGHT_POS=18
|
|
|
|
-D MIDDLE_POS=32
|
|
|
|
-D LEFT_POS=52
|