phoenics_ses (phoenics_ses) wrote,
phoenics_ses
phoenics_ses

техническое

damn the fucking thing! it works...

//-- Arduino

void setup()
{
Serial.begin(9600);
}

void loop()
{
Serial.print(" ciao sc! ");
delay(900);
}

//--SC

p= SerialPort("/dev/tty.usbserial-A9007Wuy", 9600);
(
p = SerialPort(
"/dev/tty.usbserial-A9007Wuy",
baudrate: 9600,
crtscts: true);
)


(
m= (
Routine({
inf.do{
p.next.asAscii.postln;
0.1.wait;
}
})).play
)

m.stop
f.close
Tags: arduino, how to make an sc-based interface, supercollider
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments