interface and application programming

I made application for my final project.It show sensor value and set threshold of output device.



Arduino code Processing code

Process

I plant to make Approcation of final project.like below.



I use processing ..

And Arduino language



When I run it, this screen will appear.It show sensor value and I can input charactors of text box.But It could not sent threshold to Processor(Arduino).

The problem is to sent data processing to Arduino.I could sent 2 charactors(int) but I could not sent any more.Finally, I use "Serial.readStringUntil('')" insted of "Serial.read".

version2

For final project, I update this application.

I added

I draw image by illustrator.

It work like this.