Hi Heroduino,
I found a solution to the problem. Here is:
while (true) { // Blink LED led.Write(!led.Read()); Thread.Sleep(1); // Sleep 1 milisecond led.Write(!led.Read()); // read sensor state data = sensor.GetSensorData(); // set a string with the values from sensor string str = "aX: " + (Int16)data.Acceleration_X + "t; " + "aY: " + (Int16)data.Acceleration_Y + "t; " + "aZ: " + (Int16)data.Acceleration_Z + "t; " + "gX: " + (Int16)data.Gyroscope_X + "t; " + "gY: " + (Int16)data.Gyroscope_Y + "t; " + "gZ: " + (Int16)data.Gyroscope_Z + "t; " + "T: " + (Byte)((Int16)data.Temperature / 340 + 36.53); // Debug Output Debug.Print(str); Thread.Sleep(500); // Sleep .5 second }