New code:
/*
Print output for voltage divider
*/
int v1 = A0;
int v2 = A1;
float conversionFactor = 3.3/1023;
void setup() { // Function to setup serial
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
float av1 = analogRead(v1);
float av2 = analogRead(v2);
// Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 3.3V):
float avc1 = av1 * conversionFactor;
float avc2 = av2 * conversionFactor;
// print out the value you read:
Serial.print("v1:");
Serial.print(avc1,8);
Serial.print("|v2:");
Serial.print(avc2,8);
Serial.println();
delay(1000);
}
Changed everything to float and added 8 to the print function. The print portion was my error.