MMA8452Q Accelerometer


i got mma8452q accelerometer , running, want edit example code came with. want make give power pins when tilt in different directions. example, when turn right, pin 2 give power, , when turn left, pin 3 will. forward, backward, , side side. how can that?

https://learn.sparkfun.com/tutorials/mma8452q-accelerometer-breakout-hookup-guide/example-code

quote
how can that?
digitalwrite() turn pin on or off.

an accelerometer measure instantaneous acceleration. there fair amount of processing required "tilted left" acceleration. know how that? or using library knows how?


Arduino Forum > Using Arduino > Programming Questions > MMA8452Q Accelerometer


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino DUE ADC to DAC Piezo 30 Khz-100Khz

Indesign and MathType fonts