Minor include related compile fix. Added experimental XON/XOFF flow control. Not officially supported!

- A latency issue related to USB-to-serial converters on the Arduino
does not allow for XON/XOFF flow control to work correctly on standard
terminal programs. It seems that only specialized UI's or avoiding the
USB port all together solves this problem. However, XON/XOFF flow
control is added for advanced users only as a compile-time option. This
feature is officially *NOT* supported by grbl, but let us know of any
successes with it!
This commit is contained in:
Sonny Jeon
2012-02-25 09:06:42 -07:00
parent e9b28279db
commit d6abf10d49
3 changed files with 92 additions and 28 deletions

View File

@ -114,6 +114,14 @@
// time step. Also, keep in mind that the Arduino delay timer is not very accurate for long delays.
#define DWELL_TIME_STEP 50 // Integer (1-255) (milliseconds)
// FOR ADVANCED USERS ONLY: Toggles XON/XOFF software flow control for serial communications.
// Officially not supported due to problems involving USB-to-serial chip latency (Atmega8U2/FTDI)
// when connecting to an Arduino through the USB port. This problem has to do with having no control
// of the USB packets and causing standard terminal programs not being able to honor the XON/XOFF
// control characters on time. However, with specially programmed UI's or avoiding the USB interface
// completely, XON/XOFF flow control should work. In any case, please report any successes to grbl
// administrators!
#define ENABLE_XONXOFF 0 // Boolean. Default disabled.
// -----------------------------------------------