2022-10-20 05:50:39 +02:00
|
|
|
---
|
|
|
|
esphome:
|
|
|
|
name: test6
|
|
|
|
project:
|
|
|
|
name: esphome.test6_project
|
|
|
|
version: "1.0.0"
|
|
|
|
|
|
|
|
rp2040:
|
|
|
|
board: rpipicow
|
|
|
|
framework:
|
|
|
|
# Waiting for https://github.com/platformio/platform-raspberrypi/pull/36
|
|
|
|
platform_version: https://github.com/maxgerhardt/platform-raspberrypi.git
|
|
|
|
|
|
|
|
wifi:
|
|
|
|
networks:
|
|
|
|
- ssid: "MySSID"
|
|
|
|
password: "password1"
|
|
|
|
|
2023-09-27 10:38:43 +02:00
|
|
|
network:
|
|
|
|
enable_ipv6: true
|
|
|
|
|
2022-10-20 05:50:39 +02:00
|
|
|
api:
|
|
|
|
|
|
|
|
ota:
|
|
|
|
|
|
|
|
logger:
|
|
|
|
|
2023-09-05 21:38:58 +02:00
|
|
|
debug:
|
|
|
|
|
2022-10-20 05:50:39 +02:00
|
|
|
binary_sensor:
|
|
|
|
- platform: gpio
|
|
|
|
pin: GPIO5
|
|
|
|
id: pin_5_button
|
|
|
|
|
|
|
|
output:
|
|
|
|
- platform: gpio
|
|
|
|
pin: GPIO4
|
|
|
|
id: pin_4
|
|
|
|
|
|
|
|
switch:
|
|
|
|
- platform: output
|
|
|
|
output: pin_4
|
|
|
|
id: pin_4_switch
|
2023-02-20 03:47:37 +01:00
|
|
|
|
2023-10-02 23:24:20 +02:00
|
|
|
|
|
|
|
spi: # Pins are for SPI1 on the RP2040 Pico-W
|
|
|
|
miso_pin: 8
|
|
|
|
clk_pin: 10
|
|
|
|
mosi_pin: 11
|
|
|
|
id: spi_0
|
|
|
|
interface: hardware
|
|
|
|
|
2023-05-28 22:49:27 +02:00
|
|
|
#light:
|
|
|
|
# - platform: rp2040_pio_led_strip
|
|
|
|
# id: led_strip
|
|
|
|
# pin: GPIO13
|
|
|
|
# num_leds: 60
|
|
|
|
# pio: 0
|
|
|
|
# rgb_order: GRB
|
|
|
|
# chipset: WS2812
|
|
|
|
# - platform: rp2040_pio_led_strip
|
|
|
|
# id: led_strip_custom_timings
|
|
|
|
# pin: GPIO13
|
|
|
|
# num_leds: 60
|
|
|
|
# pio: 1
|
|
|
|
# rgb_order: GRB
|
|
|
|
# bit0_high: .1us
|
|
|
|
# bit0_low: 1.2us
|
|
|
|
# bit1_high: .69us
|
|
|
|
# bit1_low: .4us
|
2023-05-22 00:31:27 +02:00
|
|
|
|
|
|
|
|
2023-02-20 03:47:37 +01:00
|
|
|
sensor:
|
|
|
|
- platform: internal_temperature
|
2023-03-09 02:54:51 +01:00
|
|
|
name: Internal Temperature
|
2023-09-09 11:00:45 +02:00
|
|
|
- platform: adc
|
|
|
|
pin: VCC
|
|
|
|
name: VSYS
|