expand and fix digitalIO class

This commit is contained in:
Emanuele Trabattoni
2025-07-24 13:51:21 +02:00
parent 71c7ff8756
commit 07dd200de8
12 changed files with 403 additions and 81 deletions

View File

@@ -78,7 +78,7 @@ namespace drivers
{ // minimum m_lastRequest between requests
delay(now - m_lastRequest);
}
m_lastRequest = now;
m_lastRequest = millis();
}
const uint8_t S50140::getRegset()

View File

@@ -13,7 +13,7 @@ namespace drivers
private:
const uint8_t c_maxRetries = 5;
const uint8_t c_dataWords = 2;
const uint16_t c_minDelay = 200;
const uint16_t c_minDelay = 500;
const uint16_t REG_V = 0x100C;
const uint16_t REG_A = 0x1016;