Team_temp / VT1_domc

Dependencies:   mbed-dev

Fork of Adafruit9-DOf_AHRS_Regler_Discrete by RT-Labor IMS

Revision:
3:bd353b8184cc
Parent:
1:8c4f93e10af3
--- a/Source/Adafruit_L3GD20_U.cpp	Thu Oct 19 11:52:10 2017 +0000
+++ b/Source/Adafruit_L3GD20_U.cpp	Thu Sep 20 08:35:36 2018 +0000
@@ -80,8 +80,8 @@
      for correct address and that the IC is properly connected */
   uint8_t id = 0;
   id = read8(GYRO_REGISTER_WHO_AM_I);
-  Serial serial( USBTX, USBRX);
-  serial.printf("WHOAMI Gyro %d \r\n", id);
+  Serial pc(USBTX, USBRX, 115200);
+  pc.printf("WHOAMI Gyro %d \r\n", id);
   if ((id != L3GD20_ID) && (id != L3GD20H_ID))
   {
     return false;