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.
Diff: main.cpp
- Revision:
- 5:4319a748181a
- Parent:
- 4:f0be27a5a83a
- Child:
- 6:aa27bc8c58f5
- Child:
- 8:33b8899a8dad
--- a/main.cpp Thu Feb 04 09:33:42 2016 +0000
+++ b/main.cpp Thu Feb 04 15:27:37 2016 +0000
@@ -120,12 +120,12 @@
// [1]: Sensor Position X
// [2]: Sensor Position Y
// [3]: Sensor Position Angle
- float configData[4] = {0.002751114f, 167.0f, 0.0f, 269.0f};
+ float configData[4] = {0.002751114f, 167.0f, 0.0f, 271.5f};
supportSystem->writeData(SUPPORT_SYSTEM_REGISTER_ADDRESS_IMU_CONVERSION_FACTOR, configData, sizeof(float)*4);
// Flag setzen
- uint8_t command = 1<<3;
+ uint8_t command = 1<<2;
supportSystem->writeData(SUPPORT_SYSTEM_REGISTER_ADDRESS_IMU_COMMAND, &command, sizeof(uint8_t));
bool timer_started = false;
