-
Notifications
You must be signed in to change notification settings - Fork 0
/
t-amoled.yaml
58 lines (51 loc) · 1 KB
/
t-amoled.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
esphome:
name: t-amoled
platformio_options:
build_unflags: -Werror=all
board_build.flash_mode: dio
esp32:
board: esp32-s3-devkitc-1
variant: esp32s3
framework:
type: esp-idf
external_components:
- source: github://clydebarrow/esphome@amoled
components: [ spi,qspi_amoled ]
psram:
mode: octal
spi:
- id: quad_spi
clk_pin: 47
data_pins:
- 18
- 7
- 48
- 5
display:
- platform: qspi_amoled
dimensions:
height: 240
width: 536
offset_height: 0
offset_width: 0
transform:
mirror_x: false
mirror_y: true
swap_xy: true
color_order: rgb
invert_colors: false
brightness: 255
cs_pin: 6
reset_pin: 17
enable_pin: 38
lambda: |-
# Enable logging
logger:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
power_save_mode: none
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "AP ${node_name}"
password: !secret wifi_ap_password