mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add Pulse DTR command
MCUs like the ESP32 can be reset if the serial port DTR line is pulsed for a short time. You could just type CTRL-t d CTRL-t d but that's a little awkward since you have to lift your finger off the CTRL key to type the Ds. Now you can just type CTRL-T D. * Added new command "D" to pulse the DTR line. I.E. Toggle its state twice with a configurable duration between toggles. * Added new config/command line option "--dtr-pulse-duration" to set the duration between the DTR state toggles. The default is 100ms.
This commit is contained in:
parent
a717631207
commit
f24cee61e7
8 changed files with 42 additions and 0 deletions
|
|
@ -36,6 +36,7 @@
|
|||
#define KEY_CTRL_T 0x14
|
||||
#define KEY_V 0x76
|
||||
#define KEY_D 0x64
|
||||
#define KEY_SHIFT_D 0x44
|
||||
#define KEY_R 0x72
|
||||
#define KEY_SHIFT_L 0x4C
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue