/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rmr662.frc2012.physical;

/**
 * This class should read data from the accelerometer.
 * @author RMR662
 */
public class RMRAccelerometer {
    
    public double getAcceleration() {
        // TODO: read acceleration from accelerometer.
        return 0.0;
    }
    
}

@@ -141,11 +141,139 @@
 %0D%0A%0D%0A
-/**
+import edu.wpi.first.wpilibj.ADXL345_I2C;%0D%0Aimport edu.wpi.first.wpilibj.DigitalModule;%0D%0Aimport edu.wpi.first.wpilibj.I2C;%0D%0A%0D%0A/**sss
 %0D%0A *
@@ -345,16 +345,25 @@
 RMR662%0D%0A
+ * 0x1D%0D%0A
  */%0D%0Apub
@@ -493,16 +493,16 @@
 meter.%0D%0A
-
         
@@ -514,16 +514,144 @@
 n 0.0;%0D%0A
+        I2C i2c = new I2C(new ADXL345_I2C(),0x1D );%0D%0A        new ADXL345_I2C(slot, ADXL345_I2C.DataFormat_Range.k2G)%0D%0A        %0D%0A
     %7D%0D%0A 

Add RMRAccelerometer