Separate functions to get new acceleration values from MEMS and to print them to an UART.
Separate function to print whole MEMS memory.
Function for MEMS initialization was separated.