Send/receive more...

How to read/send more variables or custom string.

Read more variables from Arduino

To read data from multiplexers, I2C devices like gyro or from other hardware use the involtSend(pinNumber, value) function to send values. The pinNumber is analog pin index. Send the data as additional analog pin to use it inside your App. For example add 16 values of CD74HC4067 analog multiplexer as analog pins from A6 to A22 (for UNO) and access them in Involt array.

How to read a custom string from Arduino.

Just use the involtSendString(pinNumber, string) function. This will be stored in array (it's shared between numeric values and strings).

Send more variables to Arduino.

To send additional variable declare it as non existing pin. For example try to send value to Arduino UNO (with highest pin number 13) as pin P14.Remember about declaring them in involtPin[] array

//total number+1 +1 additional value
involtPin[15] = {};
<div class="ard button P14 value-200"></div>

Now you can access this value in Arduino sketch in involtPin array as involtPin[14]. You can use this method to send values to shift register or expander.

How to send a custom string to Arduino.

Use the[pinIndex] array where pinIndex is index of S parameter from HTML pin attribute. (S0 is[0])

Test this with connected led to pin 5. The received value is stored as involtString[0]

//Add this to void loop section

if (involtString[0] == "involt"){

analogWrite(5, 255);


To test you can send the string with button:

<div class="ard button S0 value-involt"></div>

For sending more than single word you can use HTML attribute:

<div class="ard button S0" value="involt"></div>

... or create input and type "involt":

<input class="ard input-write S0">