Closed barawn closed 7 years ago
UCBzI2COA0 is a word, not a byte. It was previously typecast as a volatile uint8_t *, so while the address got set, the enable bits (which are in the high bits) never did, preventing slave mode from working at all.
UCBzI2COA0 is a word, not a byte. It was previously typecast as a volatile uint8_t *, so while the address got set, the enable bits (which are in the high bits) never did, preventing slave mode from working at all.