How much does float slow down arduino calculations, how do I avoid float values? Answered
I am writing a sketch with about 3 float numbers that go through some simple calculations such as divide and multiply. The calculations are very simple and only about 3 or four lines of code. I can't have this slowing down the reading of my interrupt pin.
Can I store the numbers by multiplying until I have a whole number and store them as a int. Then divide them back out in the calculation?
Thanks any help would be appreciated, David.