Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-dev
Fork of Adafruit9-DOf_AHRS_Regler_Discrete by
Diff: Source/Adafruit_L3GD20_U.cpp
- 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;