Okay so I restructured my code. I thought with the high rate of interrupts going in my program there would be inconsistencies with interpreting the data.
I restructured it to go through 10 cycles and averaging the data being outputted.
I am noticing that my output in binary is inconsistent with the number of bits being outputted. Sometimes I would get 9 bits/11 bits outputted to the serial monitor. Since I am using long unsigned integers, does the arduino ignore the rest of the 32 bits if the bits are 0? or is it more likely that my bits are being cut short with an interrupt each time I'm printing out.
I'll give you an idea with what I am seeing.
Right now I am printing only my period and my difference in time on the same line.
I Want to get around
for my two printed values
In Decimal I'm Getting
In Binary I'm getting
Right now I am printing two variables on one line. In the end I want to be able to print three variables on one line.
Does my loop function look too long? Am I trying to output too many bits at once? Are my interrupts affecting the data outputted?
What I am trying to look for is consistency (+/- x) within the outputted data and need some advice on whats going on.