1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-05 18:30:57 +01:00
esphome/tests/components/bl0942/test.rp2040-ard.yaml
David Woodhouse 71a7f6383f
Support BL0942 calibration (#7299)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-09-05 12:08:39 +12:00

23 lines
389 B
YAML

uart:
- id: uart_bl0939
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 9600
sensor:
- platform: bl0942
voltage:
name: BL0942 Voltage
current:
name: BL0942 Current
power:
name: BL0942 Power
energy:
name: BL0942 Energy
frequency:
name: BL0942 Frequency
voltage_reference: 15968
current_reference: 124180