STM32F0 – Using the I2C peripheral with interrupts + HMC5883L
A couple of people had requested that I give some example code on using the I2C peripheral in an interrupt controlled manner. By using it in this manner, the processor can achieve other tasks while also doing I2C transactions giving a multi-tasking feel to a program. In this example, I combine using the DRDY output […]