Readme
parent
d3ba6264c2
commit
0813b17f7a
BIN
.README.md.swp
BIN
.README.md.swp
Binary file not shown.
|
@ -16,8 +16,12 @@ Currently does not support OSC bundles (each control source must send a separate
|
||||||
Example code:
|
Example code:
|
||||||
|
|
||||||
//args = [port or path, baudrate, number of addresses/knobs/whatever]
|
//args = [port or path, baudrate, number of addresses/knobs/whatever]
|
||||||
|
|
||||||
k = SLIPDecoder.new("/dev/your_USB_device", 9600, 3);
|
k = SLIPDecoder.new("/dev/your_USB_device", 9600, 3);
|
||||||
|
|
||||||
k.start;
|
k.start;
|
||||||
|
|
||||||
k.actions[0] = {|input| input.postln;};
|
k.actions[0] = {|input| input.postln;};
|
||||||
|
|
||||||
k.actions[1] = {|input| input.postln;}; //define functions to do something with the incoming data.
|
k.actions[1] = {|input| input.postln;}; //define functions to do something with the incoming data.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue