mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-21 02:06:35 +00:00
Update docs
This commit is contained in:
parent
856fb73664
commit
d87aab8bc6
@ -29,6 +29,9 @@ Pin |Function |ESP32 Pin |Config Name|Display Pin |
|
|||||||
SPI MISO, MOSI and SCLK are shared between the touch controller and the lcd controller.
|
SPI MISO, MOSI and SCLK are shared between the touch controller and the lcd controller.
|
||||||
|
|
||||||
## LCD Configuration
|
## LCD Configuration
|
||||||
|
|
||||||
|
The `lcd_config.ini` file specifies the different properties of the display, except for the actual pin configuration:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
raspberrypi =
|
raspberrypi =
|
||||||
-D RPI_DISPLAY_TYPE=1
|
-D RPI_DISPLAY_TYPE=1
|
||||||
@ -44,6 +47,9 @@ raspberrypi =
|
|||||||
```
|
```
|
||||||
|
|
||||||
## HASP build_flags
|
## HASP build_flags
|
||||||
|
|
||||||
|
Specify the LCD Configuration to use and define the 7 GPIOs in the environment build flags:
|
||||||
|
|
||||||
```
|
```
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
|
@ -33,7 +33,10 @@ You need to desolder the 0R resistor on the back side of the panel from the 16-b
|
|||||||
|
|
||||||
There are no pins shared between the touch controller and the lcd controller.
|
There are no pins shared between the touch controller and the lcd controller.
|
||||||
|
|
||||||
## ${lcd.mrb3511} config:
|
## LCD Configuration
|
||||||
|
|
||||||
|
The `lcd_config.ini` file specifies the different properties of the display, except for the actual pin configuration:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
mrb3511 =
|
mrb3511 =
|
||||||
-D ESP32_PARALLEL=1
|
-D ESP32_PARALLEL=1
|
||||||
@ -47,6 +50,9 @@ mrb3511 =
|
|||||||
```
|
```
|
||||||
|
|
||||||
## HASP build_flags
|
## HASP build_flags
|
||||||
|
|
||||||
|
Specify the LCD Configuration to use and define the 17 GPIOs in the environment build flags:
|
||||||
|
|
||||||
```
|
```
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
|
@ -32,6 +32,9 @@ Other revisions of this board do not have this feature.
|
|||||||
SPI MISO, MOSI and SCLK are shared between the touch controller and the lcd controller.
|
SPI MISO, MOSI and SCLK are shared between the touch controller and the lcd controller.
|
||||||
|
|
||||||
## LCD Configuration
|
## LCD Configuration
|
||||||
|
|
||||||
|
The `lcd_config.ini` file specifies the different properties of the display, except for the actual pin configuration:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
raspberrypi =
|
raspberrypi =
|
||||||
-D RPI_DISPLAY_TYPE=1
|
-D RPI_DISPLAY_TYPE=1
|
||||||
@ -47,6 +50,9 @@ raspberrypi =
|
|||||||
```
|
```
|
||||||
|
|
||||||
## HASP build_flags
|
## HASP build_flags
|
||||||
|
|
||||||
|
Specify the LCD Configuration to use and define the 7 GPIOs in the environment build flags:
|
||||||
|
|
||||||
```
|
```
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user