I tried to make the changes by accessing the library but am getting errors now.

Fork of MMA8451Q by Emilio Monti