[waveshare_io_ch32v003] Waveshare I/O Expander component (#10071)

This commit is contained in:
Anton Viktorov
2026-06-24 20:08:59 +10:00
committed by GitHub
parent e6455c5b44
commit cbcf23426d
12 changed files with 577 additions and 0 deletions
@@ -0,0 +1,33 @@
waveshare_io_ch32v003:
- id: wave_io
address: 0x24
binary_sensor:
- platform: gpio
id: wave_io_binary_sensor
pin:
waveshare_io_ch32v003: wave_io
number: 3
mode: INPUT
inverted: false
output:
- platform: gpio
id: wave_io_output
pin:
waveshare_io_ch32v003: wave_io
number: 0
mode: OUTPUT
inverted: false
- platform: waveshare_io_ch32v003
id: wave_io_pwm_output
inverted: true
zero_means_zero: true
safe_pwm_levels:
min_value: 0
max_value: 247
sensor:
- platform: waveshare_io_ch32v003
id: wave_io_adc
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
<<: !include common.yaml