re all,
I’m trying to use a spinner jQuery ui box to set manually a pin in a getDigitalPin(pinValue). Is this possible?
I do this:
<code>
var pinValue = 9; //Default port is 9.
function onReady(event) {
arduino.removeEventListener(IOBoardEvent.READY, onReady);
led = new LED(arduino, arduino.getDigitalPin(pinValue));
$(‘#spinner’).spinner({
min: 3,
max: 13,
step: 1
});
}
$( “#spinner” ).bind( “spinchange”, function() {
var spinnerValue = $(“#spinner”).spinner(“value”);
pinValue = spinnerValue;
})
</code>
but nothing else…
best from brazil and sorry if this is a newbie question 🙂