Created Config parameter (markdown)
59
Config-parameter.md
Normal file
59
Config-parameter.md
Normal file
@@ -0,0 +1,59 @@
|
||||
Don't forget to also enable some features for your firmware configuration: [Features](Features)
|
||||
|
||||
Also don't forget to setup Bodmer/TFT_eSPI config parameter for your display, most of the bobbycars use the same display anyways. [peters_platine] already defines a pinout and display controller, as this is the most used configuration.
|
||||
|
||||
# Default Settings
|
||||
Will be placed into the presets. Note that all default values can be changed at runtime and will also persisted in NVS.
|
||||
|
||||
## Limits:
|
||||
Note, that you can dereive from [default_limits] which already defines sane limits for bobbycars.
|
||||
```
|
||||
-DDEFAULT_IMOTMAX=25
|
||||
-DDEFAULT_IDCMAX=27
|
||||
-DDEFAULT_NMOTMAX=1000
|
||||
-DDEFAULT_FIELDWEAKMAX=5
|
||||
-DDEFAULT_FIELDADVMAX=40
|
||||
```
|
||||
|
||||
## Motor inverted:
|
||||
Note, that you can dereive from [default_wheels_inverted] which already defines a good set of inversions to drive forward.
|
||||
```
|
||||
-DDEFAULT_INVERTFRONTLEFT=false
|
||||
-DDEFAULT_INVERTFRONTRIGHT=true
|
||||
-DDEFAULT_INVERTBACKLEFT=false
|
||||
-DDEFAULT_INVERTBACKRIGHT=true
|
||||
```
|
||||
|
||||
## Display related:
|
||||
```
|
||||
-DDEFAULT_SWAPSCREENBYTES=false
|
||||
```
|
||||
|
||||
## Poti related:
|
||||
```
|
||||
-DDEFAULT_GASMIN=850
|
||||
-DDEFAULT_GASMAX=3700
|
||||
-DDEFAULT_BREMSMIN=1300
|
||||
-DDEFAULT_BREMSMAX=4000
|
||||
```
|
||||
|
||||
## Gametrak related potis (only available when FEATURE_GAMETRAK enabled)
|
||||
```
|
||||
-DDEFAULT_GAMETRAKXMIN=0
|
||||
-DDEFAULT_GAMETRAKXMAX=4095
|
||||
-DDEFAULT_GAMETRAKYMIN=0
|
||||
-DDEFAULT_GAMETRAKYMAX=4095
|
||||
-DDEFAULT_GAMETRAKDISTMIN=0
|
||||
-DDEFAULT_GAMETRAKDISTMAX=4095
|
||||
```
|
||||
|
||||
## Example display configuration that works on most bobbycars
|
||||
```
|
||||
-DILI9341_DRIVER=1
|
||||
-DTFT_MOSI=13
|
||||
-DTFT_SCLK=15
|
||||
-DTFT_CS=14
|
||||
-DTFT_DC=12
|
||||
-DTFT_RST=2
|
||||
-DSPI_FREQUENCY=27000000
|
||||
```
|
Reference in New Issue
Block a user