Mired in code
Check-in [bd54efccc5]
Not logged in
Public Repositories
mwm's Repositories

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a note about running Calibrate to the calibration load failure message.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bd54efccc5de752966baf19bf0106bafffef9c4e
User & Date: mwm 2015-08-28 14:34:33
Context
2015-10-08
04:07
Add the PWM input example code Leaf check-in: 34668e0a73 user: mwm tags: trunk
2015-08-28
14:34
Add a note about running Calibrate to the calibration load failure message. check-in: bd54efccc5 user: mwm tags: trunk
14:15
Move calibration to a separate sketch. check-in: 1885651ed3 user: mwm tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Arduino/FloatController/FloatController.ino.

111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
    // load and configure the DMPf
    Serial.println(F("Initializing DMP..."));
#endif
    devStatus = mpu.dmpInitialize();

    if (!loadCalibration()) {
#ifdef SERIAL_DEBUG
      Serial.println(F("MPU not calibrated, or calibrated for wrong firmware."));
#endif
      digitalWrite(LED_PIN, LOW);
    } else {
      setCalibration();

      // make sure it worked (returns 0 if so)
      if (devStatus != 0) {







|







111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
    // load and configure the DMPf
    Serial.println(F("Initializing DMP..."));
#endif
    devStatus = mpu.dmpInitialize();

    if (!loadCalibration()) {
#ifdef SERIAL_DEBUG
      Serial.println(F("MPU not calibrated, or calibrated for wrong firmware.\nRun the Calibrate sketch."));
#endif
      digitalWrite(LED_PIN, LOW);
    } else {
      setCalibration();

      // make sure it worked (returns 0 if so)
      if (devStatus != 0) {