File tree Expand file tree Collapse file tree 1 file changed +15
-29
lines changed
Expand file tree Collapse file tree 1 file changed +15
-29
lines changed Original file line number Diff line number Diff line change 1616 type : arduino
1717
1818external_components :
19- - source : github://avwuff/ESPHome-HUB75-MatrixDisplayWrapper@4fc1f26500b97a39693cd8af4ba2abb75f83ce0b
2019 - source : github://tjhorner/esphome-custom-components@4cb0e183748b4b616fa1a09f9457591d44c91902
2120 components : [ serial_rpc ]
2221 - source : github://tjhorner/esphome-transit-tracker@main
@@ -192,19 +191,14 @@ select:
192191 lambda : |-
193192 id(tracker).set_list_mode(id(list_mode_config)->state);
194193
195- number :
196- - platform : hub75_matrix_display
197- matrix_id : matrix
198- id : display_brightness_number
199-
200194output :
201195 - platform : template
202196 id : display_brightness_output
203197 type : float
204198 write_action :
205- - number.set :
206- id : display_brightness_number
207- value : !lambda return state * 255.0;
199+ - hub75.set_brightness :
200+ id : matrix
201+ brightness : !lambda return state * 255.0;
208202
209203light :
210204 - platform : monochromatic
@@ -262,28 +256,20 @@ binary_sensor:
262256 up : !lambda "return id(flip_display_config).state;"
263257
264258display :
265- - platform : hub75_matrix_display
259+ - platform : hub75
266260 id : matrix
261+ board : adafruit-matrix-portal-s3
262+ double_buffer : true
267263 update_interval : 32ms
268- width : 64
269- height : 32
270- chain_length : 2
271- R1_pin : 42
272- G1_pin : 40
273- B1_pin : 41
274- R2_pin : 38
275- G2_pin : 37
276- B2_pin : 39
277- A_pin : 45
278- B_pin : 36
279- C_pin : 48
280- D_pin : 35
281- E_pin : 21
282- LAT_pin : 47
283- OE_pin : 14
284- CLK_pin : 2
285- clock_phase : false
286- i2sspeed : HZ_20M
264+ panel_width : 64
265+ panel_height : 32
266+ layout_cols : 2
267+ # We swap the G and B channels in firmware because the 64x32 panel hardware has them reversed
268+ g1_pin : 40
269+ b1_pin : 41
270+ g2_pin : 37
271+ b2_pin : 39
272+ e_pin : 21
287273 brightness : 255
288274 pages :
289275 - id : transit_schedule
You can’t perform that action at this time.
0 commit comments