Tuesday, 13 November 2012

Accelerometer functioning!

Success! Today I managed to get the accelerometer to function. I started by downloading a code from http://www.arduino.cc/en/Tutorial/ADXL3xx, and used this to run the accelerometer in the monitor screen. This gave me the readout values of the accelerometer, which I then patched  into Yasu's code for analogue sound manipulation so that the speaker plays a tone the increases or decreases in pitch according to the reading of the accelerometer. 

No comments:

Post a Comment