About › Forums › Forum › Change Digital Pin with .spinner jQuery › Reply To: Change Digital Pin with .spinner jQuery
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
