command using serial monitor

Hi

i want to ask.
It is possible to control the degree of compression from air pump to cuff using serial monitor?

thanks