Code to run on goggles with LED rings