Many of the controls used in MakerPlot-J can be considered "virtual instruments" as they mimic the look of real instruments and devices.
These controls are easily placed, updated with running data, or read by MPJ code or your microcontroller.
The Update Value of the controls can set what data value to use for indicating, such as analog value 0, [ain0].
They may also be set in MPJ code (or a string sent from the controller), such as setting a meter value: !met0=25
Or setting meter maximum value: !met0.max=500
Control values are easily read with code of: [sld] to read a slider for example. ? [sld]
Or have the controller request the value: Serial.println("!read [sld]"); drive = Serial.parseInt();
|