03-16-2015 05:49 AM
In the project essential guide mechatronics kit there is a example with a gyroscope L3G4200D. I'm currently working on the integration of a similiar st sensor L3GD20 into MyRio. I found a document (http://www.st.com/st-web-ui/static/active/en/resource/sales_and_marketing/presentation/product_prese...
comparing those two with the information, that basically just the two register adresses differ.
But how can I change them in the published example program?
03-17-2015 03:54 AM
Hi Maloya,
the I2C slave adresses of the two gyroscopes differ.
When you open the block diagram of Main.vi in the project you can see a constant which is called "PmodGYRO adress". It is set to 0x69 in the example.
According to the ST document you have to change it to 6B and it will work.
Regards,
Andi
03-17-2015 06:54 AM
Hey Andi,
first of all thanks for your answer.
I tried changing the adress to 6B but it didn't work, resulting in different failure, but still a failure. I will check out the difference between both compiling errors. But may you explain me the 6B - 0110 1011 ? When you erase the highest bit. You get for the L3GD20 0101 0100 Hex 54.
Regards Victor