HID
HID copied to clipboard
Linestate example
Hi,
I need to 'control' DTR and RTS lines of a (virtual) comport and would like to use a ATMEGA32U4 for this. When a pin grounded, DTR should go low and when another pin is grounded, CTS should go low.
My understanding is that I can use Linestate to check (or set?) this, unfortunately I cannot find any example for this.
Is there some one who can me me some hints or has an example?
-ben