Add Pylontech PIN numbers to platformio.ini

This commit is contained in:
Bernhard Kaszt 2023-03-05 21:20:00 +01:00
parent 06a0f76fed
commit 44a770be0e
2 changed files with 5 additions and 1 deletions

View File

@ -270,7 +270,9 @@ This can be achieved by copying one of the [env:....] sections from 'platformio.
-DHOYMILES_PIN_CE=4 -DHOYMILES_PIN_CE=4
-DHOYMILES_PIN_CS=5 -DHOYMILES_PIN_CS=5
-DVICTRON_PIN_TX=21 -DVICTRON_PIN_TX=21
-DVICTRON_PIN_RX=22 -DVICTRON_PIN_RX=22
-DPYLONTECH_PIN_RX=27
-DPYLONTECH_PIN_TX=14
``` ```
It is recommended to make all changes only in the 'platformio_override.ini', this is your personal copy. It is recommended to make all changes only in the 'platformio_override.ini', this is your personal copy.
You can also change the pins by creating a custom [device profile](docs/DeviceProfiles.md). You can also change the pins by creating a custom [device profile](docs/DeviceProfiles.md).

View File

@ -55,6 +55,8 @@ build_flags = ${env.build_flags}
-DHOYMILES_PIN_CS=5 -DHOYMILES_PIN_CS=5
-DVICTRON_PIN_TX=21 -DVICTRON_PIN_TX=21
-DVICTRON_PIN_RX=22 -DVICTRON_PIN_RX=22
-DPYLONTECH_PIN_RX=27
-DPYLONTECH_PIN_TX=14
[env:olimex_esp32_poe] [env:olimex_esp32_poe]