From fe07b461bb11bc316f0695210a6e689f8b67b5c6 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 8 Jan 2026 21:53:54 +0200 Subject: [PATCH] Updated ads131m08 README.md file --- components/ads131m08/README.md | 53 ++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/components/ads131m08/README.md b/components/ads131m08/README.md index f1b9673..cd8edc1 100644 --- a/components/ads131m08/README.md +++ b/components/ads131m08/README.md @@ -1,6 +1,55 @@ -# ESPHome config/source/custom Folder +# ESPHome config/components/ads131m08 -This folder contains Contains source code files and related resources for custom components. +This folder contains Contains source code files and related resources for external ads131m08 component. +## Example .yaml config +## --- +``` +external_components: + - source: + type: local + path: components # Path relative to this YAML file + components: [ ads131m08 ] + +ads131m08: + id: highres_adc + cs_pin: GPIO5 + drdy_pin: GPIO10 + vref: 1.25 + +sensor: + - platform: ads131m08 + ads_hub_id: highres_adc + channel: 0 + name: "ADS Channel 0 Voltage" + - platform: ads131m08 + ads_hub_id: highres_adc + channel: 1 + name: "ADS Channel 1 Voltage" + - platform: ads131m08 + ads_hub_id: highres_adc + channel: 2 + name: "ADS Channel 2 Voltage" + - platform: ads131m08 + ads_hub_id: highres_adc + channel: 3 + name: "ADS Channel 3 Voltage" + - platform: ads131m08 + ads_hub_id: highres_adc + channel: 4 + name: "ADS Channel 4 Voltage" + - platform: ads131m08 + ads_hub_id: highres_adc + channel: 5 + name: "ADS Channel 5 Voltage" + - platform: ads131m08 + ads_hub_id: highres_adc + channel: 6 + name: "ADS Channel 6 Voltage" + - platform: ads131m08 + ads_hub_id: highres_adc + channel: 7 + name: "ADS Channel 7 Voltage" +``` For more information, visit the [ESPHome documentation](https://esphome.io/). \ No newline at end of file