Question
HAL I2C example from I2C_TwoBoards_ComIT
Posted on February 28, 2017 at 18:59
I am having trouble following the example code as given for the CubeMX
How does it not get stuck in the while(1) loop in the main function? I understand that it is an interrupt, but the only thing that the function call back does is toggle an LED. How else does it know to get out of the infinite loop since everything else is contained in the main function. I see all the stuff for reading the buffer, but it is outside of the while loop.
