I don't think so when reading this from the link below, serial.dtr is not a standard Arduino ide function:
"On a standard Arduino, the DTR and RTS signals are present on pins of the FTDI chip, but they are not connected to anything. You can solder wires between I/O pins and the FTDI chip if you need these signals." PJRC also has datasheets each of the chips he uses and for the LC additionally a manual with "all the useful programming info" https://www.pjrc.com/teensy/datasheets.html ________________________________ Isn't DTR a signal controlled by the host (LinuxCNC) rather than the micro? -----Original Message----- From: Martin Dobbins <tu...@hotmail.com> Sent: December 4, 2020 1:02 PM To: Enhanced Machine Controller (EMC) <emc-users@lists.sourceforge.net> Subject: Re: [Emc-users] USB - Serial question Hi Ken, PJRC's version of Arduino is somewhat different, I wonder if DTR is what you need? If you can read the serial.dtr as shown here, then I'm pretty sure you can hold DTR low until you are ready to send/receive data: https://www.pjrc.com/teensy/td_serial.html Martin ________________________________ Your suggestion sounded great so I did a few tests. I loaded a PCJR Teensy LC (ARM Cortex-M0+) and a genuine Arduinio Leonardo (ATmega32u4) with the standard BLINK program -- <much snippage> > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- -users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users