 }
 
 void i2c_tx() {
+  static int adata;
+  static unsigned char tmp, data;
   Wire.write(sinfo);
   sinfo ^= sinfo;
   Wire.write(state);

#endif // USE_INT1

void i2c_rx(int nBytes) {
  sinfo |= 4;
  tmp = state;
  state = Wire.read();

#include "config.h"

const int info = 13;
static unsigned char state = INIT_STATE;
volatile unsigned char sinfo = 0;

#ifdef USE_INT0
