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:
- 8:33b8899a8dad
- Parent:
- 7:c5940ae7773a
- Parent:
- 5:4319a748181a
- Child:
- 9:46c42975a0dc
- Child:
- 10:f92664a22d02
--- a/main.cpp Thu Feb 04 17:46:59 2016 +0000
+++ b/main.cpp Thu Feb 04 17:48:22 2016 +0000
@@ -129,12 +129,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;
