2Chx3dof Magnetrometer supported M-Series Random Sequence Generator Servo Control

Dependencies:   mbed

You are viewing an older revision! See the latest version

Homepage

Sampling Frequency in main.cpp

#define SampleFreq     200   // [Hz]

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.

Auto-stop Timer 15sec after

    // auto-stop when 15sec after
    if(smpl_cnt>3000){stop_dump();}

All wikipages