Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added example for DTR
  • Loading branch information
yeckel committed Feb 17, 2017
commit 3921dc24ad7250f174055345fadc42890ec93072
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <DigiCDC.h>
void setup() {
SerialUSB.begin();
// initialize the digital pin 1 as an DTR output.
SerialUSB.setDtrPin(1);
}

// the loop routine runs over and over again forever:
void loop() {
SerialUSB.delay(10);
}