Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Gyro

GS_OK

Send power ON/OFF


Power_ON/OFF
sequence
GS_ERROR_CODE

GS_OK

Init thread / 10 seconds


Init_Gyro period
GS_ERROR_CODE

GS_OK

Self_Test Send test command

GS_ERROR_CODE
Auto Sample

GS_OK
Sample_Gyro

Get_Product_ID Send command Get_ID

GS_ERROR_CODE Fill_Table
Send_Log

Set bit / Stop thread


Stop_Sampling Kill task? 10_Sec
sampling

Yes

Stop_Task
GS_OK

Send command
Get_Sample Sample_Data
GS_ERROR_CODE

You might also like