From 4b4aaa9117f46c7e17e3391832bf53ee1de92d0d Mon Sep 17 00:00:00 2001 From: Blake Date: Sun, 10 Nov 2024 18:39:05 -0600 Subject: [PATCH] Add i2c to M5Stack-Dial (#895) --- src/docs/devices/M5Stack-Dial/index.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/docs/devices/M5Stack-Dial/index.md b/src/docs/devices/M5Stack-Dial/index.md index 34eae8a5f..d89ecc509 100644 --- a/src/docs/devices/M5Stack-Dial/index.md +++ b/src/docs/devices/M5Stack-Dial/index.md @@ -15,6 +15,17 @@ project-url: https://docs.m5stack.com/en/core/M5Dial M5Stack Dial features an M5StampS3, 8M Flash, 1.28 inch Touchscreen, NFC Reader, Rotary Encoder and a Buzzer. +## Pin Mapping + +When a pin can be used for multiple purposes (e.g. Port A or Port B), they are documented in the table below instead of the example configuration. + +| Pin | Usage | +| ------------- | ------------- | +| GPIO1 | Port B Input | +| GPIO2 | Port B Output | +| GPIO13 | Port A SDA | +| GPIO15 | Port A SCL | + ## Example Configuration ```yaml @@ -75,6 +86,7 @@ time: # RTC - platform: pcf8563 id: rtctime + i2c_id: internal_i2c address: 0x51 update_interval: never - platform: homeassistant