   btnRight.touched = false;
   setBackground(&btnLeft,GRAY1);
   setBackground(&btnRight,GRAY1);
+}
+
+void btnPlusEventHandler(Button* btn){
+  blinkSpeed = (blinkSpeed >= MIN_RATE + 5) ? (blinkSpeed-5) : MIN_RATE;
+}
+
+void btnMinusEventHandler(Button* btn){
+  blinkSpeed = (blinkSpeed <= MAX_RATE - 5) ? (blinkSpeed+5) : MAX_RATE;
 }
 
 // Helper routines

  Serial.begin(9600);
  pinMode(leftPin,OUTPUT);
  pinMode(rightPin,OUTPUT);
  
  canvas.init(TFT_LANDSCAPE);


  canvas.add(&btnLeft,55,50);
  canvas.add(&btnRight,185,50);
  canvas.add(&btnHazard,120,150);
  canvas.add(&btnPlus,220,100);
  canvas.add(&btnMinus,20,100);
  
  lastTime = millis();
}
