//https://www.youtube.com/watch?v=YMftHXuLXhA&list=PLD7F7ED1F3505D8D5&index=3

#define beg {
#define end }
#define t1 128
#define t2 128

int main()
beg
  pinMode(13, OUTPUT);
  Serial.begin(115200);
  
  Serial.println("HelloDemo");

  long timetemp=millis();
  int time1=t1;
  int time2=t2;
  while(1)
    beg
     // digitalWrite(13, HIGH);
      //delayMicroseconds(10000000);
     // delay(500);
     // digitalWrite(13, LOW);
     // delay(500);

      if(millis()-timetemp>=100)
      beg
        timetemp=millis();
        time1--;
        time2--;
      end
      
      if(time1==0)
      beg
      time1=t1;
      Serial.println("time1");
      end
      if(time2==0)
      beg
      time2=t2;
      Serial.println("time2");
      end
      

    end
end