propellor c and compass sensor
Patrick222122
Posts: 30
It me again. This time I am having trouble setting up the code for a Parallax Compass Module 3-Axis HMC5883L in c. The trouble is not with the premade library functions for it but rather I cannot seem to create the i2c connection the sensor needs. I have tried multiple time using the code in both the simple tools and I2c libraries to no success. How do I open I2c bus? Please code example's if possible.
Comments
So, you've tried this code with the compass connected to P2/P3 and it doesn't work ?
From the Learn/Simple Library repository.