help with wifi-proto

#ifdef USE_DIG8_INTR
   // set digital pin 8 on Arduino
   // as ZG interrupt pin
   PCICR |= (1<<PCIE0);
   PCMSK0 |= (1<<PCINT0);
#endif

This is the relevant code but not the code that you should have changed. This is probably the reason it doesn't work for you.