I have tried combining a working SDK16_98a08e2 MPU6050 example with the SDCard example in the same SDK, however it seems they are incompatible because the MPU example uses TWI and the SD card example uses SPI if I am understanding the error correctly. How can I change the SDCard example to be able to write the IMU data to an SDCard? I am doing this for a capstone project and have spent so much time without progress any help is greatly appreciated. I attached output file.
Thanks