From baa1dd100c4d0d2f60e502dc427e2ce8ffead0d7 Mon Sep 17 00:00:00 2001 From: Fatima Idrees Date: Mon, 12 May 2025 11:27:07 +0300 Subject: [PATCH] ++ --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 22f3ee7..96b9324 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,6 @@ At **FABLAB Bahrain**, we're revolutionizing the world of IoT devices with our c --- -### Features - ### Key Features of the 8-Relay Module with ESP32-C3 Super Mini - **8-Channel Relay Control:** Enables switching of up to 8 high-power devices independently. @@ -61,12 +59,12 @@ At **FABLAB Bahrain**, we're revolutionizing the world of IoT devices with our c #### Files -The library is composed of several files, each with a specific role: +The library is composed of two files, each with a specific role: -1. **I2CRelay.h** [5] +1. **I2CRelay.h** - Defines the `I2CRelay` class, which extends the functionality to control relays over I2C. -2. **I2CRelay.cpp** [4] +2. **I2CRelay.cpp** - Contains the implementation of methods for the `I2CRelay` class. --- @@ -79,8 +77,6 @@ The I2CRelay library offers broad versatility for automation through its configu ### API Overview -# I2CRelay Library API Overview - | Method / Constructor | Description | Parameters / Usage Example | |---------------------------------------------------|-------------------------------------------------------------------------------------------------------------|------------------------------------------------------| | `I2CRelay(uint8_t address = 0x08, uint8_t sda = 8, uint8_t scl = 3)` | Create an I2CRelay object with optional I2C address and pin selection. | `I2CRelay relay;`
`I2CRelay relay(0x10, 21, 22);` |