   if (!adk.isReady())
   {
     // Set LED to red when USB is not connected.
-    rgb_led.set(1,0,0);
+    rgb_led.R(1);
+    rgb_led.G(0);
     
     // Turn off motors.
     for (size_t motor_idx = 0; motor_idx < NUM_MOTORS; ++motor_idx) {

    motor[0]->velocity(), motor[0]->current(),
    motor[1]->velocity(), motor[1]->current()
  );
  adk.write(strlen(motor_update), (uint8_t *)motor_update);
}



  // Create a task that decays motor velocity.
  // TODO: move this into Motor class.
  Scheduler.startLoop(motorDecayLoop);
  
  // Print header indicating that board successfully initialized
  Serial.println("------------------------------");
  Serial.println(companyName);
  Serial.println(url);
  Serial.println(accessoryName);
  Serial.println(versionNumber);
  Serial.println("------------------------------");
}

void loop() 
