Still requires an output. Whether it's DTR, Power, a Relay or the #RESET signal.

Page 272 and 273 talks about the DETACH bit.  
https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf

It's worth a try in that blink application working with that bit to see if Path 
Pilot no longer sees the serial port once the detach is set.  And then 
re-enumerated if cleared 120 seconds later.

John Dammeyer

> -----Original Message-----
> From: Martin Dobbins [mailto:tu...@hotmail.com]
> Sent: December-04-20 10:02 AM
> To: Enhanced Machine Controller (EMC)
> 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

Reply via email to