 
 // #define DEBUG_REPORT_WHEN_QUIET
 
+// Undefine UPURS_OPTIMIZED to fall back to a very simple transmit algorithm,
+// which doesn't take into account UPURS's specific timings.
+
+#define UPURS_OPTIMIZED
+
 // ----------------------------------------------------------------------
 
 #if defined(USE_INVERTED_SOFTWARE_SERIAL) || defined(USE_SOFTWARE_SERIAL)


// ----------------------------------------------------------------------

// This code is designed to run on an Atmel ATMEGA32U4 chip (in my case, a
// $3.50 Pro Micro clone from Aliexpress), connected to a BBC Micro or Acorn
// Electron running Martin Barr's UPURS ROM software.

// --- Serial comms options ---


// Alternatively you can leave both of the above undefined to use hardware
// serial, which is a bit easier on the AVR, but runs at a slightly high baud
// rate that isn't compatible with UPURS.

// --- Debug options ---

