weather station project.... almost there

so over the past month or so i have build mominlaw a weather station, but i have hit a bump i cant figure...
the rain counting

the outside unit or transmitter is working great, it can count number of times the rain gauge bucket has tipped between each transmit, after each transmit i reset the number of tips and via serial output i can confirm that it can count correctly

now at the inside data gets in and i can update the lcd with temp figures etc, but when it comes to rain i guess it loops to fast and one tip of the bucket becomes ~150 tips

that is just my guess thou and not sure if that really is the case

i could have counted and calculated the rain in milimeters on the outside unit but i want do that inside as i can fit a small backup battery or use the eeprom so data is not lost if a power failure happens

my sketch is huge so i had to use pastebin, the size is mainly due to the LCD stuff:

displaying and calculation of rain happens at line 400

will keep looking at this myself to see if i cant figure out a "fix"

doooh.....

simple fix was to reset the remoteTips variable right after the count is done

void printRemoteTips()
{

    if (remoteTips != 0)
  {

    Tips = Tips + remoteTips;
    Rain = Tips * 0.33;

    int i = Rain;
    char buf[30];
    memset (buf, 0, sizeof(buf));
    snprintf(buf, sizeof(buf)-1, "%01d", i);

    tft.setCursor(150, 439);
    tft.setTextColor(TFT_GREEN);
    tft.setTextSize(3);
    tft.print(Rain);

//    Serial.print("Tips: ");
//    Serial.println(Tips);

remoteTips = 0;
  }