This code uses the MSP430 microcontroller and the 3-axis accelerometer ADXL345 and 5 LED's to create a level detecting device