int conversionFactor = 3.3/1023;
You are storing the result of a floating point operation into an int. This will truncate the value to 0. Use this calculation instead
long voltage1 = vol1 * 330 / 102300;
int conversionFactor = 3.3/1023;
You are storing the result of a floating point operation into an int. This will truncate the value to 0. Use this calculation instead
long voltage1 = vol1 * 330 / 102300;