I am looking to set my pressure sensor up which talks over I2C with a BCM20737S. Hardware wise i am ok.
I am not familiar with the M0 libraries. How would you go about initializing the I2C? I need to set my SCL clock speed to 400KHz. My slave address is 0x21h. I do not need to write to the pressure sensor, only read. What is the best way to read incoming data?
Any examples that could help?