diff --git a/.README.md.swp b/.README.md.swp index 83f24df..43e3d0c 100644 Binary files a/.README.md.swp and b/.README.md.swp differ diff --git a/README.md b/README.md index 52f25c8..6e4029b 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,13 @@ Currently does not support OSC bundles (each control source must send a separate 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.start; + k.actions[0] = {|input| input.postln;}; + k.actions[1] = {|input| input.postln;}; //define functions to do something with the incoming data.