Tag Archives: microcontroller

ST HAL I2C address (SHIFTED!)

stlogo

Quick note, for those who might be banging their head, like I did.

ST HAL library 7 bit I2C address has to be shifted before passed to their functions.

EDIT: Let me google that for you situation. I’ve been working with the official ST documentation, when I just had to google to find this beautiful blog post from 2 years ago.

Explanation

Advertisement

Leave a comment

Filed under code, curious