Can you tell me, in the not working one, all the code that is not needed for this new code, and that I can delete?
Not working. Uses float
Working: Uses float
I think this may be easier to do, what do you say?