Home › Forums › Forums › General discussion › How to Open I2C Bus › Reply To: How to Open I2C Bus
Thanks, I have succesfully interfaced the gyro with accelero.. complete with readings 🙂
I have now moved to the Inclinometer tutorial and have experienced an error again.
I have successfully installed SDL by typing –> [pi@raspberrypi ~ $ sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libi2c-dev]
Then, I tried to complile by typing –> [pi@raspberrypi ~ $ gcc -o test test.c
sdl-config –libs] Its giving me multiple errors. Please see image attached.
Am i right to assume that this is because i should type gyro_acclerometer_tutorial02.c instead of test.c?
Because when i checked the codes, i didn’t find any “test.c” file in any of the folders. What should I do?