Difference between revisions of "Program Examples:Serial Com:Serial Com Example"
m |
m |
||
| Line 2: | Line 2: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
| − | The following example demonstrates the | + | The following example demonstrates the setup of a serial connection with softMC. |
| − | + | ||
The program opens COM2 and waits for at least 3 bytes to arrive. Then it sends a message "done" and closes connection. | The program opens COM2 and waits for at least 3 bytes to arrive. Then it sends a message "done" and closes connection. | ||
| − | |||
| − | |||
|EXAMPLE= | |EXAMPLE= | ||