expand and fix digitalIO class
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user