#define button 2
bool flag_button = false;
uint8_t contador = 0;
void setup ( void ) {
  // put your setup code here, to run once:
Serial.begin ( 115200 );
pinMode ( button, INPUT );

}

void loop ( void ) {
 if ( digitalRead ( button ) ) {
  if ( contador < 15 )
    contador ++;
  Serial.print ( "El contador va en: " );
  Serial.println ( contador );
 }
  delay ( 250);
}
$abcdeabcde151015202530fghijfghij