Changed to using interrupts feeding a function to simplify code.  Changed data recording to accept 6 bits. Added comments.  Ready for testing during tomorrow's Rocksat-C meeting.