running the code below results in the attached output in one line in the serial monitor.
int flexiForcePin = A0;
void setup()
{
Serial.begin(9600);
}
void loop(){
int flexiForceReading = analogRead(flexiForcePin);
float voltage = flexiForceReading * (5.0/1023.0);
while (Serial.available()) {
Serial.write(Serial.read() * (1024/255));
}
delay(100);
}
I had been using the other command to be able to call read() multiple times and get it to read the next value instead of three iterations of the same value. It helped with getting me to the point where I had different values printing in each column of data in the serial monitor. Unfortunately, the data had been just as jumbled as it is now. I should be getting three trendlines varying about +- 10, rather than the strange array of data in the image attached. Any idea what else it could be?
