Only update the compass heading once every 500ms.