Hi everybody,
first time trying to use MultiWii software; i bought e HobbyKing flight controller, inegrated board, with a Arduino PRO 5V ATMega328 and a FREEIMUv_035BMP, the board worked 'out of the box' (never used it for flying, only attached to PC) with a Quad+ configuration; I tryed to put in the 2.2 version with QuadX configuration, but when I try to verify and/or compile the code, I get these errors :
MultiWii.ino:67:21: error: variable or field ‘SerialGpsPrint’ declared void
MultiWii.ino:67:21: error: ‘prog_char’ was not declared in this scope
MultiWii.ino:67:32: error: ‘str’ was not declared in this scope
the malformed line isn't the nr 67, but (I suppose) the nr. 212 line of GPS.ino;
I followed these instructions :
5. Select the config.h tab and uncomment (remove “//”) the parameters as
below, be sure to comment (“//”) the unused ones in each group:
a. Select the Min throttle for your ESCs..this is the lowest value the
controller sends to any motor during flight...you want them still
spinning at this value or you run out of control.
b. Choose the copter configuration
c. Reverse the yaw sense if needed
d. Use : #define I2C_SPEED 400000L
e. Use: #define INTERNAL_I2C_PULLUPS
f. Use: #define RCAUXPIN8 or #define RCAUXPIN12 if you want to
use AUX2 for mode selection in addition to AUX1
g. Use: #define FREEIMUv035_BMP
h. Use: #define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = -Y;
magADC[PITCH] = X; magADC[YAW] = Z;} note this has to be
entered manually, not already there but commented out...else
compass heading is off 90deg
Everything else is left as is....
as read by a .pdf found on HobbyKing site.
I can assume the problem is not regarding the hardware itself, because I can't veify adn/os compile the sketch even if I have not referenced any board or sensor.
Please tell me what can I do, I've a quad ready to test (and to fly, I hope... ) but I'd like tu use 2.2; I loaded 2.1 without problems, but I have trouble to configuring it : the grid portion of GUI, reporting which features are on or off (LEVEL, GPS, BAro and so on) is not visible unless I detach receivers cables from the board... but it's an other type of problem, I'd like to use 2.2 first.
Thanks to all, and excuse my English
Regards