ONE LAST TRY to stabilize a platform.

If I get a Arduino Uno along with a ADXL345 - Triple-Axis Accelerometer
Can I use these 2 objects to keep the top platform of a robot on a level plane no matter the angle of the base of the robot? ( 1 axis only )
Also, how difficult is the Arduino to program. I have 0 experience on programing this device.
And last thing, if anyone can suggest any other parts or different parts that would simplify this task.
I selected these 2 items as a novice as that I really no experience in this field.
Any and all comments would be appreciated.
The more detailed, the better!
Thank You !

A self stabilizing platform is a challenging project for an experienced Arduino programmer.

If you have no experience, start by getting any Arduino and working your way through the simple application examples that come with the development software -- blink an LED without using delays, read a voltage, a sensor, a button, etc. in order to learn the programming language and special features of the Arduino platform. If you don't, expect endless frustration.

Thank you very much.