User Manual
www.geolink.io 
16  OpenTracker 2  User Manual (1.3) 
28.   // print the results to the serial monitor:  
29.   debug_print(F("IN1 = " ));  
30.   debug_print(outputValue);  
31.   debug_print(F("V ("));  
32.   debug_print(sensorValue);  
33.   debug_print(F(")"));  
34.   debug_port.println(" ");  
35.    
36.  // Read IN2 Value  
37.   // read the analog in value:  
38.   sensorValue = analogRead(AIN_EXT_IN2);  
39.   // map it to the range of the analog out:  
40.   outputValue = sensorValue * (242.0f / 22.0f * ANALOG_VREF / 1024.0f);  
41.    
42.   // print the results to the serial monitor:  
43.   debug_print(F("IN2 = " ));  
44.   debug_print(outputValue);  
45.   debug_print(F("V ("));  
46.   debug_print(sensorValue);  
47.   debug_print(F(")"));  
48.   debug_port.println(" ");  
49.    
50.   delay(1000);  
51.  } 










