mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-23 03:06:42 +00:00
Update docs
This commit is contained in:
parent
79c5244bb1
commit
856fb73664
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Hasp-lvgl is Copyright (c) 2019-{{ site.time | date: '%Y' }} fvanroie, netwize.be and contributors
|
Hasp-lvgl is Copyright (c) 2019-2020 fvanroie, netwize.be and contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
Hasp-lvgl is based on the previous work of the following open source developers:
|
Hasp-lvgl is based on the existing work of the following open source developers:
|
||||||
|
|
||||||
- [HASwitchPlate](https://github.com/aderusha/HASwitchPlate), the original Arduino project,
|
- [HASwitchPlate](https://github.com/aderusha/HASwitchPlate), the original Arduino project,
|
||||||
Copyright© 2019 Allen Derusha.
|
Copyright© 2019 Allen Derusha.
|
||||||
@ -57,10 +57,6 @@ Hasp-lvgl is based on the previous work of the following open source developers:
|
|||||||
with modifications by fvanroie, netwize.be.
|
with modifications by fvanroie, netwize.be.
|
||||||
ArduinoLog is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
ArduinoLog is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
- [Syslog library](https://github.com/arcao/Syslog),
|
|
||||||
Copyright© 2016 Martin Sloup
|
|
||||||
[MIT License](http://opensource.org/licenses/MIT).
|
|
||||||
|
|
||||||
- [QR Code generator](https://github.com/nayuki/QR-Code-generator)
|
- [QR Code generator](https://github.com/nayuki/QR-Code-generator)
|
||||||
Copyright© Project Nayuki
|
Copyright© Project Nayuki
|
||||||
[MIT License](http://opensource.org/licenses/MIT).
|
[MIT License](http://opensource.org/licenses/MIT).
|
||||||
@ -78,6 +74,6 @@ Hasp-lvgl is based on the previous work of the following open source developers:
|
|||||||
Copyright© 2014, Austin Andrews (http://materialdesignicons.com/),
|
Copyright© 2014, Austin Andrews (http://materialdesignicons.com/),
|
||||||
MaterialDesign Icons font is licensed under the SIL Open Font License, Version 1.1.
|
MaterialDesign Icons font is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
|
||||||
- This website theme is based on [Minimal Mistakes](https://mmistakes.github.io/minimal-mistakes/),
|
- This website is created with [Docsify](https://docsify.js.org/),
|
||||||
Copyright© 2013-2020 Michael Rose and contributors
|
Copyright© 2016 - present cinwell.li
|
||||||
[MIT License](http://opensource.org/licenses/MIT).
|
[MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
6 GPIOs are required to drive the SPI display. One additional GPIO is needed for the XPT2046 touch sensor. Including the Vcc and Gnd pins, a total of 12 connections need to be made to the MCU:
|
6 GPIOs are required to drive the SPI display. One additional GPIO is needed for the XPT2046 touch sensor. Including the Vcc and Gnd pins, a total of 12 connections need to be made to the MCU:
|
||||||
|
|
||||||
|
## Pin Configuration
|
||||||
|
|
||||||
Pin |Function |ESP32 Pin |Config Name|Display Pin |
|
Pin |Function |ESP32 Pin |Config Name|Display Pin |
|
||||||
------|--------------------|-----------|-----------|------------|
|
------|--------------------|-----------|-----------|------------|
|
||||||
1 |Module Power 3.3V |3.3V | |3.3V
|
1 |Module Power 3.3V |3.3V | |3.3V
|
||||||
@ -26,7 +28,7 @@ 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_mhs4001 config:
|
## LCD Configuration
|
||||||
```ini
|
```ini
|
||||||
raspberrypi =
|
raspberrypi =
|
||||||
-D RPI_DISPLAY_TYPE=1
|
-D RPI_DISPLAY_TYPE=1
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
14 GPIOs are required to drive the 8-bit parallel display. Another 3 GPIOs are needed for the I²C touch sensor. Including the Vcc, Gnd an Rst pins, a total of 23 connections need to be made to the MCU:
|
14 GPIOs are required to drive the 8-bit parallel display. Another 3 GPIOs are needed for the I²C touch sensor. Including the Vcc, Gnd an Rst pins, a total of 23 connections need to be made to the MCU:
|
||||||
|
|
||||||
|
## Pin Configuration
|
||||||
|
|
||||||
Pin |Function |ESP32 Pin |Config Name|Display Pin |
|
Pin |Function |ESP32 Pin |Config Name|Display Pin |
|
||||||
------|--------------------|-----------|-----------|------------|
|
------|--------------------|-----------|-----------|------------|
|
||||||
1 |Chip select control pin|GPIO33 |TFT_CS |CS
|
1 |Chip select control pin|GPIO33 |TFT_CS |CS
|
||||||
|
@ -31,7 +31,7 @@ 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_mhs4001 config:
|
## LCD Configuration
|
||||||
```ini
|
```ini
|
||||||
raspberrypi =
|
raspberrypi =
|
||||||
-D RPI_DISPLAY_TYPE=1
|
-D RPI_DISPLAY_TYPE=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user