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: function_utilities/function_utilities.cpp
- Revision:
- 169:645207e160ca
- Parent:
- 133:22ab22818e01
- Child:
- 170:42c938a40313
--- a/function_utilities/function_utilities.cpp Fri Oct 16 00:25:32 2020 +0000
+++ b/function_utilities/function_utilities.cpp Mon Nov 16 02:23:23 2020 +0000
@@ -156,6 +156,8 @@
int MODE_POS_FT_TRANS = 0;
int NN_Control_Flag = 0;
+int cnt_buffer = 0;
+
float CUR_CURRENT_mA = 0.0f;
float CUR_PRES_A_BAR = 0.0f;
float CUR_PRES_B_BAR = 0.0f;
@@ -311,6 +313,14 @@
int cnt_sysid = 0;
double freq_sysid_Iref = 0.0f;
+int cnt_freq_test = 0;
+int cnt_step_test = 0;
+int buffer_data_size = 0;
+int cnt_send_buffer = 0;
+float freq_test_valve_ref = 1.0f;
+float ref_array[10000];
+int pos_array[10000];
+
int TMR3_COUNT_IREF = 0;
float CUR_CURRENT = 0.0f;
float u_CUR[3] = {0.0f,0.0f,0.0f};
@@ -392,7 +402,6 @@
{
FlashWriter writer(6);//2부터 7까지 되는듯 아마 sector
if (!writer.ready()) writer.open();
-// BNO = 0;
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);
@@ -473,7 +482,7 @@
void ROM_CALL_DATA(void)
{
BNO = flashReadInt(Rom_Sector, RID_BNO);
- BNO = 1;
+// BNO = 1;
OPERATING_MODE = flashReadInt(Rom_Sector, RID_OPERATING_MODE);
// OPERATING_MODE = 5;
SENSING_MODE = flashReadInt(Rom_Sector, RID_SENSING_MODE);