I just received this new board, and wanted to get a sanity-check on my new defines in config.h and def.h. Basically, I did a best-guess based on other configs. I don't actually have a schematic or anything, just the specs. From the site:
ITG3205 Triple Axis Gyro
BMA180 Accelerometer
BMP085 Barometer
HMC5883L Magnetometer
So I did this in config.h:
Code: Select all
#define HK_MultiWii_328P
And this in def.h:
Code: Select all
#if defined(HK_MultiWii_328P )
#define ITG3200
#define HMC5883
#define BMA180
#define BMP085
#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -X; accADC[PITCH] = -Y; accADC[YAW] = Z;}
#define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;}
#define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X; magADC[PITCH] = Y; magADC[YAW] = -Z;}
#define MPU6050_EN_I2C_BYPASS // MAG connected to the AUX I2C bus of MPU6050
#undef INTERNAL_I2C_PULLUPS
#endif
Thing is, the board comes loaded with a version of MultiWii_2_1 that appears to work fine for my config (QuadX). So before I go overwriting it forever with no hope of recovery (*gulp*), I just wnated to get someone with more experience in the sketch side of things to take a look. Any opinions?
thanks,