C Language Development Kit/Functions/SetDTR
From OptiWiki
| Description | Sets the level of the DTR line. Only works with COM0 (direct serial cable). | ||||
| Syntax | void setDTR(int level); | ||||
| Arguments | Two values are defined for level:
int level
| ||||
| Returns | None | ||||
| Remarks | setDTR() is available on the PHL1700 and only works with COM0.
setDTR() has no effect when used on other communications ports. The default state of the DTR line is OFF. | ||||
| Example | |
