I've read the topics saying that the MultiWii was designed for low cost and that there is no reason to use I2C ESC's as newer ESC's can deal with much higher refresh rates. I however have three MikroKopter BlCtrl v1.2's which require input values of 0 to 256.
I've looked at output.cpp and modified the "writeMotors()" to include:
Code: Select all
#if defined(BlCtrl)
// Using BlCtrl to write to ESC via I2C
i2c_rep_start(MOTOR_LEFT_ADDRESS);
i2c_write(motor[0]);
i2c_stop();
#else
.
.
.
I haven't tested this code, but I'm not sure what the number range would be in motor[0].
At the top of the "writeMotors()" method a comment states: // [1000;2000] => [125;250]
Does that mean the values in the motor array would be between 125 and 250?
David