 }
 
 
-// ---- Bytes from TTY to USB
-
-void printTTY(const char *s) {
-  for(int i=0; i<strlen(s); s++) {
-    sendToTTY(s[i]);
-  }
-}
-
+// ---- Bytes from USB to TTY
 
 int processUSBByte(int b)
 {

#endif

    if (isRxNLCR) {
      // TODO linefeed conversion, LF => CR+LF
      if ((b==LF) && (prevUSBByte!=CR)) {
        // write a CR first
        sendToTTY(CR);

 * USB serial connects to the host system.
 * This driver performs character translation and other functions.
 */


// TODO 'esc' may be codepoint 126, check & send as modern ESC


// The teletype's serial interface is a 20mA current loop:
//   110 baud
