Raspberry Pi code for high-altitude balloon payload