Sorry Winfried, The r comctl was there before so thats not the problem. Still trying to figure this out. One thing I noticed in writing a python script is that If I send a string of charcters ie. write("abc") I don't get any errors but if I try to send
write("a") write("b") write("c")
I also get a resource not available error which is probably what happens when I continually bang a value into the comport object. jim
Hello,
#N canvas 0 0 450 300 10; #X floatatom 113 159 4 0 0 0 - - -; #X obj 335 169 s comctl; #X msg 359 122 open 1; #X msg 324 71 devicename /dev/ttyUSB0; #X msg 88 82 100; #X obj 92 12 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 91 191 print; #X obj 93 36 metro 2; #X obj 89 120 comport 1 115200; #X msg 354 98 close; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 8 0; #X connect 5 0 7 0; #X connect 7 0 4 0; #X connect 8 0 0 0; #X connect 8 0 6 0; #X connect 9 0 1 0;
here the "r comctl" object is missing, being connectied to comport in. you dont sent anything to the serial, so it is opened with default parameters which I think is not /dev/ttyUSB0 is not used anyhow the device I think /dev/ttyS1.
but maybe this is not the failure.
mfg winfried
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list