Communication on the avr side – Pololu Orangutan SVP User Manual
Page 29
![background image](/manuals/570390/29/background.png)
// Set the DTR line to 0.
port.DtrEnable = false;
// Disconnect from the port so that other programs can use it.
port.Close();
Communication on the AVR side
Writing programs for the USB Communications port on the AVR side is supported by two different sections of
the Pololu AVR C/C++ Library.
The SVP-specific functions section of the library provides the rts_enabled() and dtr_enabled() functions which
return the states of those control lines. Complete documentation of the SVP-specific functions can be found
in
of the
. A high level
overview can be found in
of the
.
The Serial Port Communication section of the library provides many functions for serial communication,
all of which will work for the USB Communications port. Complete documentation of serial communication
functions can be found in
of the
. A high level overview can be found in
of the
Pololu Orangutan SVP User's Guide
© 2001–2012 Pololu Corporation
8. Using the USB Communication Port
Page 29 of 37