Thank you very much for your code, but I still have something don't understand.
I have a board that has both accelerometer(ADXL330) and gyro(ENC-03) in it. Is the function analogRead(inputPin); used to get the gyro value from ADC? Is the…"
"I am making the saming thing, I used ENC-03 for gryo and ADXL330 for accelermeter. And I got the output value from ENC-03 when I shake it and got the following value(unit:mv)
1324
1374
2261
1930
1444
1086
0427
0087
1107
2997
0102
2997
0093
2997
1250…"