Flushing Arduino

type=1;
  error=0;

I included this part so that code should run...before .. code wasn't working..I dont think there is error in this part.. :relaxed: