How do I add Gyroscope, Accelerometer, Euler, and Temperature data to one Arduino board?
Does the code below work? I have no compiler at hand, so I can not test it.
If you have to explain what you have done, you'll get into trouble. I don't know your teacher, but ... ;-). Seriously, that was very basic stuff. Try to find some documentation, how to program with the Arduino IDE and learn the basics. A good startpoint is https://www.arduino.cc/en/Tutorial/HomePage .
Then go on with SENSORs and Vector Maths.
#include &lt;Wire.h&gt;
#include &lt;Adafruit_Sensor.h&gt;
#include &lt;Adafruit_BNO055.h&gt;
#include &lt;utility/imumaths.h&gt;

Adafruit_BNO055 bno = Adafruit_BNO055(55);

void setup(void)
{
  Serial.begin(9600);
  Serial.println(&quot;Orientation Sensor Test&quot;); Serial.println(&quot;&quot;);

  /* Initialise the sensor */
  if (!bno.begin())
  {
    /* There was a problem detecting the BNO055 ... check your connections */
    Serial.print(&quot;Ooops, no BNO055 detected ... Check your wiring or I2C ADDR!&quot;);
    while (1);
  }

  delay(1000);

  bno.setExtCrystalUse(true);
}

void loop(void)
{
  /* Get a new sensor event */
  sensors_event_t event;
  bno.getEvent(&amp;event);

  /* Display the current temperature */
  int8_t temp = bno.getTemp();

  Serial.print(&quot;Current Temperature: &quot;);
  Serial.print(temp);
  Serial.println(&quot; Celsius&quot;);
  Serial.print(&quot;&quot;);

  imu::Vector&lt;3&gt; gyroscope = bno.getVector(Adafruit_BNO055::VECTOR_GYROSCOPE);

  /* Display the floating point data */
  Serial.print(&quot;X: &quot;);
  Serial.print(gyroscope.x());
  Serial.print(&quot; Y: &quot;);
  Serial.print(gyroscope.y());
  Serial.print(&quot; Z: &quot;);
  Serial.print(gyroscope.z());
  Serial.println(&quot;&quot;);
  delay(100);

  imu::Vector&lt;3&gt; accelerometer = bno.getVector(Adafruit_BNO055::VECTOR_ACCELEROMETER);

  /* Display the floating point data */
  Serial.print(&quot;X: &quot;);
  Serial.print(accelerometer.x());
  Serial.print(&quot; Y: &quot;);
  Serial.print(accelerometer.y());
  Serial.print(&quot; Z: &quot;);
  Serial.print(accelerometer.z());
  Serial.println(&quot;&quot;);
  delay(100);

  imu::Vector&lt;3&gt; euler = bno.getVector(Adafruit_BNO055::VECTOR_EULER);

  /* Display the floating point data */
  Serial.print(&quot;X: &quot;);
  Serial.print(euler.x());
  Serial.print(&quot; Y: &quot;);
  Serial.print(euler.y());
  Serial.print(&quot; Z: &quot;);
  Serial.print(euler.z());
  Serial.println(&quot;&quot;);
  delay(100);
}