Das Schlüsselwort struct ist hier falsch -> weglassen.
Code:struct motor motoren[M_MAX] = { { AF_DCMotor(1), 4, 18, 0, 0 }, // M_VL { AF_DCMotor(2), 1, 19, 0, 0 }, // M_HL { AF_DCMotor(3), 3, 20, 0, 0 }, // M_VR { AF_DCMotor(4), 2, 21, 0, 0 } // M_HR };
Lesezeichen