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.
Dependents: wheelchaircontrol wheelchaircontrolRosCom wheelchaircontrol wheelchaircontrol2 ... more
Fork of chair_BNO055 by
Revision 6:ce8aa8208590, committed 2019-06-27
- Comitter:
- jvfausto
- Date:
- Thu Jun 27 16:32:06 2019 +0000
- Parent:
- 5:a05d4bfb3060
- Commit message:
- a
Changed in this revision
| chair_BNO055.cpp | Show annotated file Show diff for this revision Revisions of this file |
| chair_BNO055.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/chair_BNO055.cpp Fri Apr 19 23:03:48 2019 +0000
+++ b/chair_BNO055.cpp Thu Jun 27 16:32:06 2019 +0000
@@ -24,10 +24,10 @@
{
imu->reset();
usb->printf("Bosch Sensortec BNO055 test program on \r\n");//" __DATE__ "/" __TIME__ "\r\n");
- while (imu->check() == 0) {
+ /*while (imu->check() == 0) {
usb->printf("Bosch BNO055 is NOT available!!\r\n");
wait(.5);
- }
+ }*/
usb->printf("BNO055 found\r\n\r\n");
usb->printf("Chip ID: %0z\r\n",imu->ID.id);
usb->printf("Accelerometer ID: %0z\r\n",imu->ID.accel);
--- a/chair_BNO055.h Fri Apr 19 23:03:48 2019 +0000 +++ b/chair_BNO055.h Thu Jun 27 16:32:06 2019 +0000 @@ -9,8 +9,8 @@ #define PI 3.141593 /*#define SDA D14 #define SCL D15*/ -#define SDA D14 -#define SCL D15 +#define SDA PB_9 +#define SCL PB_8 #define SAMPLEFREQ 50 #define CAL_TIME 3
