   }
 }
 
-
-// void turn_on_main_led(unsigned char delayms){
-//   analogWrite(speaker_pin, 128);
-// }
-
-
+

void setup()
{ 
  pinMode(main_led_pin, OUTPUT);
  digitalWrite( main_led_pin, HIGH );
  delay(2000);
  digitalWrite( main_led_pin, LOW );

  #ifdef DEBUG_SWITCHER
    Serial.begin(9600);
    Serial.println("connect to network");
  #endif

 setup_buttons();
 sturtup_blink();
 byte mac[] = { 0x9C, 0x92, 0x27, 0x2D, 0xDA, 0x93 };

void loop()
{
  #ifdef DEBUG_SWITCHER
    //Serial.println(".");
  #endif
  
  // send request to API if button pressed
  for (int i=0; i<buttons_count; i++) {
