question on MSComm
Drud0616
Posts: 26
In an MSComm tutorial (http://www.developerfusion.com/show/21/5/)·I saw this code in order to output a string to·a modem.·
MSComm1.Output = "ATDT01992245365" & Chr$(13)
I understand what the string itself is, but what does & Chr$(13)mean?· I also noticed it in http://www.rentron.com/sending_data.htm·
MSComm1.Output = Chr$(255) & Chr$(PinNumber) & Chr$(PinState)
This was explained as synch byte (255), followed by the pin number, followed by the pin state.· I'm alittle confused here
MSComm1.Output = "ATDT01992245365" & Chr$(13)
I understand what the string itself is, but what does & Chr$(13)mean?· I also noticed it in http://www.rentron.com/sending_data.htm·
MSComm1.Output = Chr$(255) & Chr$(PinNumber) & Chr$(PinState)
This was explained as synch byte (255), followed by the pin number, followed by the pin state.· I'm alittle confused here
Comments
MSComm1.Settings = BBBB,P,D,S
Where BBBB is the baud rate, P is the parity, D is the number of data bits, and S is the number of stop bits.
How do I choose the values needed?· I am sending information to a BS2.· When would I need to use a parity bit?· How do I know how many data bits to send? etc
JIQ
·