This commit is contained in:
2025-04-28 00:07:43 +02:00
parent 0c71409c30
commit 8b9e72ef71
9 changed files with 266 additions and 212 deletions

View File

@@ -16,9 +16,6 @@ uint8_t gpiob_state = 0x00; // All LOW initially
esp_err_t mcp23018_set_pin(i2c_master_dev_handle_t dev_handle, uint8_t pin, uint8_t value)
{
// while(foundDevices[MCP23018_ADDRESS] != 2) {
// vTaskDelay(1);
// }
esp_err_t ret = ESP_FAIL;
if (pin < 8)
{