RIAEvangelist / node-phidget-API

Node.JS Phidget API supporting all phidgets!
Other
10 stars 7 forks source link

RFID too complex for end user #2

Closed MaybeRex closed 9 years ago

MaybeRex commented 9 years ago

Referring to the following event in RFID.js

RFID.phidget.on(
    'phidgetReady',
    function(){
        //turn on the antenna when available and blink the LED so we know it is ready.
        RFID.antennaOn=1;
        RFID.LEDOn=1;
        setTimeout(
            function(){
                RFID.LEDOn=0;
            },
            250
        )
    }
);
RIAEvangelist commented 9 years ago

OK, that's from the example right?

Yeah, I guess we should add in something so pthey don't have to use the phidget.on function