int TRANSMITPERIOD = 300; //transmit a packet to gateway so often (in ms)
byte sendSize=0;
boolean requestACK = false;
SPIFlash flash(8, 0xEF30); //EF40 for 16mbit windbond chip
RFM69 radio;
long lastPeriod = -1;
Cool thanks. But I don't get different behavior when I change it's value. Is this normal?Yes, it is very 'normal'. You've declared and set a variable that isn't used anywhere else. Consequently there is no change in behavior to you program.