2 Knobs 1 App
Circuit
This example shows how to display values from two potentiometers. Connect them to pin A0 and A1
Display knob value
Add analogRead to your sketch inside involtSend function. The delay prevents the sketch from buffer overload (if required - set it to higher value).
...
void loop(){
...
void loop(){
involtReceive();
involtSend(0, analogRead(A0));
delay(2);
involtSend(1, analogRead(A1));
delay(2);
}...
To display values create HTML code for two different UI elements.
<div class="ard show A0"></div>
<div class="ard bar A1 range-0-1024"></div>
<div class="ard bar A1 range-0-1024"></div>
Here is preview of results: