Arduino + Processing Serial Port DATA TRANSFER

please format your code posting by pasting it into the

</> code button

of the editor header menu ( context name: Preformatted text )
it looks like
```
type or paste code here
```

also can use the ``` manually above and below your code.

thank you.


so please repair above 2 code postings ( processing & arduino )


your header / topic ask for
SECONDARY WINDOW
what does that mean and how is that related to your code.


you want do that via processing ?
there is no code about communication from processing to arduino


you have arduino code what send a whole story to serial port

( please provide a printout of that ( while connecting the arduino IDE monitor )
also posted like code )

but looks like in processing you want use that as DATA…
so please send DATA
in the form of one CSV line ( every 2 sec ok )

1023,1023,...

as in processing that

  • is easy to catch and
  • convert to number and
  • map to your button text

see also basics

1 Like