Reply To: Change Digital Pin with .spinner jQuery

About Forums Forum Change Digital Pin with .spinner jQuery Reply To: Change Digital Pin with .spinner jQuery

#850
rbrz
Participant

Hi,

I found a way to solve this but I don’t if this is the best method.

$( “#spinner” ).bind( “spinchange”, function() {
var spinnerValue = $(“#spinner”).spinner(“value”);
led = new LED(arduino, arduino.getDigitalPin(spinnerValue));

});

abra├žos