led vs ej.led.js - MODE

Kasper's icon

hi

in the process of "porting" my patches (and useful bpatchers) from max 4 to max 5 I came to use LED back where I was using ej.led.js (now that you can change the size of Led, and also have an invisible background, thing you can not achieve with ej.led.js)

however it seems LED does not have one (very handy if you ask me) feature of ej.led.js:

_with ej.led.js it has a "mode" feature (seems it is either 0 or 1) where it either toggles between 2 states (On/Off) in mode 0 or just blikns in mode 1 (just the way Led blinks when you send t a bang)

humm, could this be a request??? would be great (and probably would not break a single existing patch)

many thanks

kasper

David Butler's icon

It's fairly easy to just put a 'b' object in front of the LED to make it blink for any message.

Kasper's icon

yes, sorry, i forgot to tell the idea was to make led blink when clicking on it

should read

"2 states (On/Off) in mode 0 or just blikns in mode 1 when clicking theLED"

kasper

andrea agostini's icon

to achieve mode 1, I'd set ignoreclick 1, and put a ubutton over of the led...
aa