Madde progress with the acceleramoter, but something is wrong with the
project on this computer so I haven't tested it yet.