Flight software for Yale's first CubeSat, a NASA-selected 2U satellite carrying a cosmic ray detector.