ITG-3200 with Arduino Nano

Hello,

i bought the Triple-Axis Digital-Output Gyro Breakout and tested it. It’s great! But when i use it with three other breakouts on the Arduino Nano it does not work…

Here is the error message:

Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Nano, ATmega328"

In file included from DatenloggerSD_fertiges_mit_numerieren.ino:5:0:
C:\Users\Johannes\Documents\Arduino\libraries\SparkFun_MPL3115A2_Breakout_Arduino_Library-V_1.2.0\src/SparkFunMPL3115A2.h:35:20: error: expected unqualified-id before numeric constant
 #define WHO_AM_I   0x0C
                    ^
DatenloggerSD_fertiges_mit_numerieren.ino:18:6: note: in expansion of macro 'WHO_AM_I'
Error compiling.

I know the register is used to verify the identity, but i don’t know how i can solve the problem :confused:

The second thing is, that i don’t know how to calibrate the sensor.

I am not the best programmer, so i do not know how i can programm it :S

I hope someone can help me. :slight_smile:

Yours,

HolyJoh