User Activity

for(uint8_t i=0;i<255;i++) { HAL_Delay(10); if(HAL_I2C_IsDeviceReady(&hi2c1,i,2,20)==HAL_OK) { uint8_t address=i; break; } }