PDA

View Full Version : Debug vs SerOut Commands



EShatara
- 29th November 2004, 02:25
A couple of questions regarding these two commands.

1) is there any inherent advantage of one over the other?

2)Relative to code execution, when a SerOut command is executed, say

SerOut 3,N2400,["This is a test"]

does execution pause for the 58ms that it takes to send out the text?

Any insight would be helpful.

Thanks.....chris

mister_e
- 29th November 2004, 05:16
DEBUG and SEROUT will work the same.

DEBUG take less of your code space but you are a really little bit limited for the functions. Have a look in PBP manual to see differences.

Serial is serial, in most case, DEBUG may be use instead of SEROUT.


regards