Why is it important to have a while loop to constantly read the values of accelerometer in every function in the code?
So basically why should we constantly be taking readings when we already do that at the start of the loop() function of code which is the beginning of a new situation?