I'm trying to calibrate two inputs (a tilt sensor and and the integration of the output of a gyroscope) as the tilt sensor does not provide a linear output. If I run my microprocessor in debug mode I can see what value each input is, however this requires me to reset the processor, click play, rotate the platform I'm measuring and press pause. Then either I have to hold the platform perfectly still while I somehow write those values down, or I have to go through the whole process of resetting everything and starting again for my next reading... the point is it's taking a ridiculous amount of time.
Is there any way I can run my microprocessor so that I can watch certain variables as they update continuously, ie. so that I dont have to click stop / start every time? The only other way I can think of doing it is to write the value I want to read to a voltage on an analogue output pin... though I would think this would sacrifice some accuracy? What I really want at the end of all of this is a scatter plot of my tilt sensor vs the integration of my gyroscope.
Is there any way I can run my microprocessor so that I can watch certain variables as they update continuously, ie. so that I dont have to click stop / start every time? The only other way I can think of doing it is to write the value I want to read to a voltage on an analogue output pin... though I would think this would sacrifice some accuracy? What I really want at the end of all of this is a scatter plot of my tilt sensor vs the integration of my gyroscope.
Last edited: