Other Parts Discussed in Thread: OPT3001
Hello, I am programming with the MSP432P401R Red Launchpad for the first time (actually my first time ever programming on a microcontroller).
My task is to establish an I2C connection between the MSP432P401R Red Launchpad and the Optical Sensor of the Sensor Boosterpack and save the measured value somewhere.
I have read the FreeRTOS Guide and understand the basics but I have never used I2C. All the examples I have seen of using I2C just leave me in the dark because I do not understand what the code is doing.
Is there any ressource which can explain to me how I establish a I2C connection between these (or similar) products?
I have looked up the SCL/SDA pins for the products I am using and I know the address of the slave (the OPT3001 sensor) but I don´t really know what else I need to find on the datasheets.
I am using Code Composer Studio, maybe that information is important.
I appreciate any and all help, thank you!