Yes, the paranthesis are optional. either way will work.
Also did you know there is two other ways to do the CR LF. ( My wife says I give too much information and it confuses people.)
1) A command HSerPrintCRLF will send CR LF with one statement
2) If you look at the constants menu ,you will find "SerPrintCR" and "SerPrintLF". These are used in conjunction with the "HserPrint" to automatically send One or both CR and LF. "HserPrint" is overload so it can print a byte,word, long, Or string. This may be handy for data logging but may get in the way for other printing. You use them by: #define SerPrintCR and/or #define SerPrintLF in the defines at the beginning of your program.
73 Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the help docs for HSerSend it shows
HSerSend(13) 'sends a CR
but in the HSerPrint it shows
HSerPrint "GCBASIC RS232 Test"
HSerSend 13
HSerSend 10
Both are in the "example" part of the description.
Does HSerSend need the paranthesis to send the byte? I don't have a setup right now where I can test, but need to know if possible.
Yes, the paranthesis are optional. either way will work.
Also did you know there is two other ways to do the CR LF. ( My wife says I give too much information and it confuses people.)
1) A command HSerPrintCRLF will send CR LF with one statement
2) If you look at the constants menu ,you will find "SerPrintCR" and "SerPrintLF". These are used in conjunction with the "HserPrint" to automatically send One or both CR and LF. "HserPrint" is overload so it can print a byte,word, long, Or string. This may be handy for data logging but may get in the way for other printing. You use them by: #define SerPrintCR and/or #define SerPrintLF in the defines at the beginning of your program.
73 Mike
Thank you kind sir. Tell your wife we actually really appreciate all the info you are willing to share!!!