Connection and acceleration test

Simple test to check acceleration and set the update speed according to
the connection type