Calculate Resistance Using Audrino