The code used in the Arduino Mega for collecting and storing sensor data during high altitude balloon flight for BASE research.