Fattoresaimon / ArduinoDuPPaLib

Libraries for DuPPa products on the Arduino IDE
GNU General Public License v3.0
41 stars 24 forks source link

begin return true / false if device OK #24

Open hallard opened 2 years ago

hallard commented 2 years ago

begin method now check back that read config is same than just written, allowing to test if device is present on i2c bus

fixus971 commented 2 years ago

Hi, I also need this function. There is a bug whereby if an encoder is missing and I call updateStatus() All interrupt routines are launched because into that function: _stat = readEncoderByte(REG_ESTATUS); receive -1 = 255