What I noticed is that when I calibrate the +scale, the -scale is also changed and vice versa. So after calibrating the + scale to 921.35, I went to calibrate the -scale and then the +scale values were changed and my scaled readings are no longer accurate. I was wondering if anyone has any insight as to fixing this.
Your explanation of the problem is very unclear. Please explain more clearly how you are trying to calibrate the sensor, post the code corresponding to an attempt, and state what goes wrong.
"-scale" and "scale" refer to the same variable, so changing the value of "scale" changes both entries in the function call.
Sorry, I have no idea what your "raw data" represent.
The first thing you need to do is understand the raw data. Just run the example program and look ONLY at the raw data from the analog pins.
How do those data change for different orientations of the sensor? The PCB should have the axes X, Y and Z indicated on it somewhere.
You can calibrate the sensor by writing down the value reported for each axis, X, Y or Z, when the sensor is held still, and the axis is exactly perpendicular to the Earth's surface, i.e straight up or down. By definition, the value reported is equivalent to +/- 1 g. Explained in this tutorial: Programming and Calibration | ADXL345 Digital Accelerometer | Adafruit Learning System
I don't know what you mean by "change these values". Please state exactly which values you want to change, and your basis for changing them (that is, what values should they be). The zero values in the map function are certainly wrong.
I suggest to read some of the excellent on-line tutorials on calibrating an accelerometer, like this one, or the one I already linked in reply #3 above.
The most accurate method of accelerometer and magnetometer calibration is described in this exhaustive tutorial.
I appreciate the tutorials that you linked, however I want to work with the library that I have.
By "change these values" I mean change the integers 0 and 1023 to calibrate my accelerometer. I was able to change them individually to zero the accelerometer in one orientation, but it was not the exact opposite when flipped over.
Library? What library? I assume you mean the code you have. The links you were provided are sketches (programs) to give you the data you seem to be looking for. Every sensor will vary slightly from nominal values. The nice thing about the calibration software is when done correctly it gives you good numbers for your module, what you have. Then you can apply those numbers in your code. In the one sample they average 10 readings for each axis which comes in handy for getting good accurate data.
"I was able to change them individually to zero the accelerometer in one orientation, but it was not the exact opposite when flipped over".
Exactly which is why you want good raw data tagged to your specific accelerometer.