Here is source code for various languages that you may find useful in developing high altitude things.