From: David Woodhouse Date: Wed, 14 Feb 2024 10:34:09 +0000 (+0000) Subject: Paper working now X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f4f1992313ebe1cb9ce7a79a11046233fed66fa4;p=users%2Fdwmw2%2Fesp32-pool.git Paper working now --- diff --git a/paper.yaml b/paper.yaml index e1cc1fd..c498c6f 100644 --- a/paper.yaml +++ b/paper.yaml @@ -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!");