Problem Retrieving Data from Dissolved Oxygen Sensor and pH Sensor to txt

That’s the code file. i’m trying to write the data received from the sensors to a txt file.
but i haven’t find the way.
i tried using “Processing” to do so, but i failed.

i’m new to arduino, so i was wondering where did i go wrong ?

Sensors.ino (6.54 KB)

Use a terminal program (Teraterm, Putty, etc.) instead of the Arduino serial monitor, and have the terminal program log the data.

If you can read data from Serial Monitor it means there is no problem with the arduino board and have to learn how to use Processing's serial libraries.

Ask Processing forums/comunity if you cant figure it out.