I am using C to program a microcontroller (NHS3152) to calcualte resistance using this formula:
RES = (V1-V2)/I
I want to write a program that