sertxd (#value,Cr,lf) ' serial out the data record next sertxd ("Data section 3 of 3 Complete",Cr,lf) gosub flasher sertxd (Cr,lf) sertxd ("Data Download Complete",Cr,lf) ' last data record read out gosubLT_down LT_down: high 3 'flash 3 times than pause Pause 1000 'signifies completed low 3 ' download data pause 500 high 3 pause 1000 low 3 pause 500 high 3 pause 1000 low 3 pause 10000 GotoLT_down flasher: pause 1000 if pin7=1 then flasher 'waits the for commit pin return End_Mission: 'this is if data was recorded during the whole flight low 3 ' this shows that the memory is full pause 10000 ' and that the flight computer functioned properly for the flight high 3 pause 1000 gotoEnd_Mission 'this program has a problem ' it writes the record location to internal memory not to the ' 16 bit 1 word memory chip on the balloonsat easy 2.0 flight computer board 'thereforethe data should exist for any end ' end of mission
sertxd (#value,Cr,lf) ' serial out the data record next sertxd ("Data section 3 of 3 Complete",Cr,lf) gosub flasher sertxd (Cr,lf) sertxd ("Data Download Complete",Cr,lf) ' last data record read out gosubLT_down LT_down: high 3 'flash 3 times than pause Pause 1000 'signifies completed low 3 ' download data pause 500 high 3 pause 1000 low 3 pause 500 high 3 pause 1000 low 3 pause 10000 GotoLT_down flasher: pause 1000 if pin7=1 then flasher 'waits the for commit pin return End_Mission: 'this is if data was recorded during the whole flight low 3 ' this shows that the memory is full pause 10000 ' and that the flight computer functioned properly for the flight high 3 pause 1000 gotoEnd_Mission 'this program has a problem ' it writes the record location to internal memory not to the ' 16 bit 1 word memory chip on the balloonsat easy 2.0 flight computer board 'thereforethe data should exist for any end ' end of mission
StarkIndustries_RevCv2.docx