scope question on variable wrt I2C ??
I have the following two wrapper functions:void POT_Load_Value(uint16_t value) { uint8_t w[2]; w[0] = 0; //reg w[1] = value; I2C_Write(POT_ADDR, w, 2); } uint8_t I2C_Write(uint8_t device, uint8_t *pValues, uint8_t size) { if (HAL_OK == HAL_I2C...