]> www.infradead.org Git - users/dwmw2/esp32-pool.git/commitdiff
Paper working now
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 14 Feb 2024 10:34:09 +0000 (10:34 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 14 Feb 2024 10:34:09 +0000 (10:34 +0000)
paper.yaml

index e1cc1fdaa1f0a8d16753e70bab484de1999381b5..c498c6f4482f86df87913c7e44b820b6c2fbea14 100644 (file)
@@ -16,6 +16,8 @@ esphome:
 
 esp32:
   board: adafruit_feather_esp32s3
+#  board: esp32-s3-devkitm-1
+  variant: esp32s3
   framework:
     type: arduino
 
@@ -121,21 +123,20 @@ mqtt:
 
 
 light:
-  - platform: binary
+  - platform: esp32_rmt_led_strip
+    pin: GPIO34
+    num_leds: 24
+    rmt_channel: 0
+    chipset: WS2812
     name: "RGB LED"
-    restore_mode: ALWAYS_ON
     id: rgb_led
-    output: led_output
-
-output:
-  - id: led_output
-    platform: gpio
-    pin: GPIO34
+    restore_mode: ALWAYS_ON
+    rgb_order: GRB
 
 font:
   - file: '/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf'
     id: font1
-    size: 8
+    size: 16
 
 spi:
   clk_pin: GPIO39
@@ -150,6 +151,8 @@ display:
       inverted: true
     reset_pin: GPIO36
     model: 7.50inV2
-#    full_update_every: 30
+    reset_duration: 2ms
+    update_interval: 30s
+#    full_update_every: 60
     lambda: |-
-      it.print(0, 0, id(font1), "Hello World!");
+      it.print(0, 0, id(font1), "Hello World 7.50inV2 inv!");