int _1_name = 0.0 ; //name of the botton void setup() { pinMode( 2 , INPUT);Intro + Supplies: AnnunciatorAnnunciatorAnnunciator pinMode( 13 , OUTPUT); pinMode( 12 , OUTPUT); _1_name = 0.0 ; //setting for the button and the LEDs } void loop() { if (digitalRead( 2 )) { if (( ( _1_name ) == ( 1.0 ) )) { _1_name = 0.0 ; delay( 200.0 ); //situation which the button is active } else { _1_name = 1.0 ; delay( 200.0 ); //situation which the button is not active } } if (( ( _1_name ) == ( 1.0 ) )) { digitalWrite( 13 , LOW ); digitalWrite( 12 , LOW ); //inactive botton shutting off the LEDs } else { digitalWrite( 13 , HIGH ); delay (1000.0); digitalWrite (13 , LOW); delay (1000.0); digitalWrite( 12 , HIGH ); delay (1000.0); digitalWrite (12 , LOW); delay (1000.0); //active situation which the LEDs flicker } }