SelfBalancing
Dependencies: mbed BMI160 max32630fthr USBDevice Math MAX14690
Revision 2:ba0a55e05168, committed 2018-05-04
- Comitter:
- Emre.Eken
- Date:
- Fri May 04 13:41:28 2018 +0300
- Parent:
- 1:792bddf7108e
- Child:
- 3:ad1e61509a89
- Commit message:
- Some minor changes are done to make it be compiled by IAR. There is no diffence with the previous revision in terms of functionality
Changed in this revision
--- a/BMI160.lib Wed Apr 25 14:17:42 2018 +0300 +++ b/BMI160.lib Fri May 04 13:41:28 2018 +0300 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/MaximIntegrated/code/BMI160/#4949e9b15b6e +https://developer.mbed.org/teams/MaximIntegrated/code/BMI160/#a521606048bb
--- a/main.cpp Wed Apr 25 14:17:42 2018 +0300
+++ b/main.cpp Fri May 04 13:41:28 2018 +0300
@@ -196,7 +196,7 @@
void printBlock(BMI160 &imu, BMI160::Registers startReg, BMI160::Registers stopReg)
{
uint8_t numBytes = ((stopReg - startReg) + 1);
- uint8_t buff[numBytes];
+ uint8_t buff[32];
uint8_t offset = static_cast<uint8_t>(startReg);
if(imu.readBlock(startReg, stopReg, buff) == BMI160::RTN_NO_ERROR)
--- a/max32630.lib Wed Apr 25 14:17:42 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://os.mbed.com/teams/MaximIntegrated/code/max32630hsp3/#60c0cc971d85 \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/max32630hsp.lib Fri May 04 13:41:28 2018 +0300 @@ -0,0 +1,1 @@ +https://os.mbed.com/teams/MaximIntegrated/code/max32630hsp3/#60c0cc971d85 \ No newline at end of file