Well, when I try only "puts ATMY\x0d", I get ATMY on the display, what is reasonable.
Even using -nonewline or the command flush, I don't get the results I expected.
And i know that's the problem, because for the commands that don't ask a CR in the end, my zigbee module sends back what i...
Hello.
I have a doubt and need some help.
I have a small script that opens a serial communication (USB) with a board containing a zigbee module. Almost all the the messages I have to send through this port contains a carriage-return (0x0D) in the end of the string. Is it possible to force this...
I use catch to verify if a have an error, but I also want to use the error stack to find out exactly where the error occured (in which line, procedure...).
Is there any other way to access this information?
Hi.
I'm new in tcl programming, and I'm looking for a better way to handle errors.
Actually, I use "catch {}" in critical areas and if it returns 1, a function to treat this error is called.
This function may receive arguments such as important information about the state of the program, and...
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.