//Initialize integers and starting numbers here
//#include <Wire.h>
#include <LiquidCrystal_I2C.h>>
//https://www.youtube.com/watch?v=q9YC_GVHy5A
LiquidCrystal_I2C lcd(0x27,16,2)
int readPin=A0;
int delayTime=500;
void setup() {
// put your setup code here, to run once: Try to initialize your code here
// set all pinMode and stuff here
pinMode(readPin,INPUT);
lcd.begin();
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
lcd.clear();
//analogRead returns a number between 0 and 1023
lcd.print("Resistance");
lcd.setCursor (0,1);
lcd.print(String("Voltage:")+String((sensorValue*0.005)-0.115));
delay(delayTime);
}