![](/media/cache/profiles/d741d4ae35aff8fd3674206068e40684.jpg.50x50_q85.jpg)
2Chx3dof Magnetrometer supported M-Series Random Sequence Generator Servo Control
Sampling Frequency
Sampling Frequency in main.cpp
#define SampleFreq 200 // [Hz]
Auto Stop Setting
Auto-stop Timer 15sec after
// auto-stop when 15sec after if(smpl_cnt>3000){stop_dump();}
The number of 3000 means Sample Count. The number is given by SampleFreq[Hz] * Auto-Stop Time [sec].
M-Series Random Sequence
M-series Random Update Term in main.cpp
// M-series update flag #define M_TERM 200;
Unit is sample count.
cf.) 200 equals to 200 [samples] which equals to 1 [second] where SampleFreq = 200 [Hz}.
See above.
M-Series Random Servo Control
History
e
2021-02-10, by mfurukawa [Wed, 10 Feb 2021 21:59:00 +0000] rev 11
e
KRS2572HV supported; 180 deg rotation;
2021-02-03, by mfurukawa [Wed, 03 Feb 2021 06:01:27 +0000] rev 10
KRS2572HV supported; 180 deg rotation;
Finished
2021-02-02, by mfurukawa [Tue, 02 Feb 2021 17:24:02 +0000] rev 9
Finished
M-Sequence register(16), tap(4), Maximum-Length Validated
2021-02-02, by mfurukawa [Tue, 02 Feb 2021 17:12:57 +0000] rev 8
M-Sequence register(16), tap(4), Maximum-Length Validated
TEXT Dump 200Hz Stable
2021-02-02, by mfurukawa [Tue, 02 Feb 2021 15:44:38 +0000] rev 7
TEXT Dump 200Hz Stable
stable commit;
2021-02-02, by mfurukawa [Tue, 02 Feb 2021 15:39:02 +0000] rev 6
stable commit;
ASCII output finished
2021-02-02, by mfurukawa [Tue, 02 Feb 2021 15:04:04 +0000] rev 5
ASCII output finished
LED_flash notice method added
2021-02-02, by mfurukawa [Tue, 02 Feb 2021 14:29:33 +0000] rev 4
LED_flash notice method added
init_sensor func added;
2021-02-02, by mfurukawa [Tue, 02 Feb 2021 14:28:36 +0000] rev 3
init_sensor func added;
M-Series Servo Works
2021-02-02, by mfurukawa [Tue, 02 Feb 2021 13:46:13 +0000] rev 2
M-Series Servo Works