Generic function for configuring the register

Dependencies:   MMA8451Q8 SLCD mbed

Fork of KL46z_single_tap_empty by Stanley Cohen

SLCD.lib/shortlog@65b0e488f02a: not found in manifest