![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
asdgas
Dependencies: mbed Eigen FastPWM
Diff: function_utilities/function_utilities.cpp
- Revision:
- 64:368bcd2a230a
- Parent:
- 63:376a20d2fbfd
--- a/function_utilities/function_utilities.cpp Thu May 07 03:52:28 2020 +0000 +++ b/function_utilities/function_utilities.cpp Tue May 12 06:24:31 2020 +0000 @@ -374,7 +374,7 @@ { FlashWriter writer(6);//2부터 7까지 되는듯 아마 sector if (!writer.ready()) writer.open(); - + //BNO = 1; writer.write(RID_BNO,(int) BNO); // write at address, 쓸때도 4byte씩 씀 writer.write(RID_OPERATING_MODE,(int) OPERATING_MODE); writer.write(RID_SENSING_MODE, (int) SENSING_MODE); @@ -458,7 +458,7 @@ OPERATING_MODE = flashReadInt(Rom_Sector, RID_OPERATING_MODE); SENSING_MODE = flashReadInt(Rom_Sector, RID_SENSING_MODE); CURRENT_CONTROL_MODE = flashReadInt(Rom_Sector, RID_CURRENT_CONTROL_MODE); - CURRENT_CONTROL_MODE =1; + CURRENT_CONTROL_MODE = 0; FLAG_VALVE_DEADZONE = flashReadInt(Rom_Sector, RID_FLAG_VALVE_DEADZONE); CAN_FREQ = flashReadInt(Rom_Sector, RID_CAN_FREQ); CAN_FREQ = 500;