Hi,
When I try to open a serial port like this:
set serial [open /dev/ttyS0 r+]
I get: " couldn't open "/dev/ttyS0": no such file or directory"
When I use this form:
set serial [open COM1: r+]
It works properly.
It might be importent to know why is it as i would like open USB connection like...
Hi,
I'm just getting started with Tcl. When i try to run my simple script in command prompt like this
C:\script.tcl
a window appears and there is no output in command prompt
When I try like this(as i know this is the right way for this)
c:\tclsh script.tcl
I get a message that system could...
Hi,
I tryed this example from Tk FAQ to display en image.
use strict;
use Tk;
my $main = new MainWindow;
my $canvar = $main ->Canvas;
$canvar->pack;
my $file = 'demos/images/earth.gif';
my $img =
$canvar->Photo( 'IMG',
-file =>...
Hi!
I try monitoring the keyboard in perl tk(non blocked read)
I tryed use TermReadKey but that read just from prompt shell(STDIN) I need something to non blocked read in tk(in a subrutin what i called from mainwindow)
(like in C kbhit(); function)
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.