sorry, but float not makes sense for analog sampling data from INT 0 … 1023
as you just add ‘.00’ characters to the serial transport.
if you later need to interpret that in engineering values:
1023 as 5.00V or 273.00 square pound/cubic feet
do that in the latest moment in processing
- after transport serial
- after store in a array ( long == canvas width for plot example )
- or anything required for data reduction for “historic data collection”
so very good, your communication works.
now could take the string ( from one arduino line ) and make it to 2 numbers
can you give a example or photo,
as it looks like i not know the Arduino IDE that well.
my understanding is that already now the
Arduino IDE serial monitor outprint
and the Processing console outprint
looks same,
if you mean that you want the processing canvas shows the arduino lines? use
or you want it like this?
