 #include "Cosa/VWI/Codec/ManchesterCodec.hh"
 #include "Cosa/VWI/Codec/BitstuffingCodec.hh"
 #include "Cosa/VWI/Codec/Block4B5BCodec.hh"
-#include "Cosa/Trace.hh"
 #include "Cosa/RTC.hh"
 #include "Cosa/Watchdog.hh"
 

  uint16_t resent;
  uint16_t received;
  uint16_t failed;
};

// Counters
uint16_t sent = 0;
uint16_t resent = 0;
uint16_t received = 0;
uint16_t failed = 0;
  
void update(int8_t nr)
{
  sent += 1;
  if (nr <= 0) 
    failed += 1; 
  else if (nr > 1)
    resent += (nr - 1);
}

void setup()
{
  // Start watchdog for delay

BitstuffingCodec codec;

// Network configuration
const uint32_t ADDR = 0xc05a0001UL;
const uint16_t SPEED = 4000;

// Virtual Wire Interface Transceiver
#if defined(__ARDUINO_TINYX5__)
VWI::Transceiver trx(Board::D0, Board::D1, &codec);
#else
