       } 
       strip.Show();
     }
-}
-
-void handleHexaStringRequest(String req) {
-  printDebug("req="+req);
-
-  Color white = RgbColor(128,128,128);
-  Color black = RgbColor(0,0,0);
-  int off = 0;
-  for (int curCol = 0; curCol < 8; ++curCol) {
-    int colValue = hexaToInt(req.at(2*curCol)) << 8 + hexaToInt(req.at(2*curcol + 1));
-    int checker;
-    if (curCol % 2 == 0) {
-      checker = 1;
-    }
-    else {
-      checker = 128;
-    }
-    for (int curBit = 0; curBit < 8; curBit++) {
-      if ((curCol & checker) == checker) {
-        strip.SetPixelColor(pixelNumber++, white);      
-      }
-      else {
-        strip.SetPixelColor(pixelNumber++, black);            
-      }
-      if (curCol % 2 == 0) {
-        checker << 1;
-      }
-      else {
-        checker >> 1;
-      }      
-    }
-  }
-  
-  strip.Show();
 }
 
 /* REST service to set pixel by x.y=RRGGBB;x.y=RRGGBB;x.y=RRGGBB;.. */

 }

String getCharHexa(char value) {
  if (value >= 20) && (value <= 0x7e) {
    return ansiCharsByRows[value - 20];
  }
  else {
    return "ffffffffffffffff";
  }
}
void printScroll(String input, int delay) {
  // Need to add a space at the beginning/ end of the string
  int curOffset_message = 0;
  while (true) {
    String Chars_2 = getCharHexa[input.at(currOffset_message)] + getCharHexa(input.at((currOffset_message + 1) % length(input)));
    for (int offsetLetter = 0; offsetLetter < 8; ++offsetLetter) {
      
      sleep(delay);       
    }
    curOffset_message = curOffset_message + 1;
    if (curOffset_message > length(input)) {
      curOffset_message = 0;
    }
  }



/*Bitmap of ANSI chars - letters+numbers+common signs:  starts at char Ox21, ends at 0x7E */
 String  ansiCharsByCols [97] = {"0000000000000000",
  "000000fa00000000",
  "0000000000000000",
  "0000c000c0000000",
  "000028fe28fe2800",
  "00002454fe544800",
  "00c4c810204c8c00",
  "000c72926a040a00",
  "0000002040800000",
  "0000003844820000",
  "0000824438000000",
  "000028107c102800",
  "000010107c101000",
  "0000020c0c000000",
  "0000101010101000",
  "0000000c0c000000",
  "0000040810204000",
  "00007c8a92a27c00",
  "00000042fe020000",
  "0000468a8a926200",
  "00008482a2d28c00",
  "0000182848fe0800",
  "0000e4a2a2a29c00",
  "00003c5292920c00",
  "0000808e90a0c000",
  "00006c9292926c00",
  "0000609292947800",
  "0000006c6c000000",
  "0000026c6c000000",
  "0000102844820000",
  "0000282828282800",
  "0000824428100000",
  "0040809a90600000",
  "00007c82baaa7a00",
  "00007e9090907e00",
  "000082fe92926c00",
  "00007c8282824400",
  "000082fe82827c00",
  "0000fe9292828200",
  "0000fe9090808000",
  "00007c828a8a4e00",
  "0000fe101010fe00",
  "00000082fe820000",
  "0000040282fc8000",
  "0000fe1028448200",
  "0000fe0202020200",
  "0000fe403040fe00",
  "0000fe201008fe00",
  "00007c8282827c00",
  "0000fe9090906000",
  "00007c828a847a00",
  "0000fe9098946200",
  "000044a2928a4400",
  "00008080fe808000",
  "0000fc020202fc00",
  "0000f8040204f800",
  "0000fc021c02fc00",
  "0000c6281028c600",
  "0000e0100e10e000",
  "0000868a92a2c200",
  "00003cc242c22400",
  "00003c4242c22400",
  "000092fe92827c00",
  "000024d24aca2400",
  "000042c64ad26200",
  "0000204080402000",
  "00000854543c0000",
  "0000fc2424180000",
  "0000384444440000",
  "0000182424fc0000",
  "0000385454200000",
  "0000107e90400000",
  "0000304a4a7c0000",
  "0000fc20201c0000",
  "00000024bc040000",
  "00000422bc000000",
  "0000fc1028040000",
  "00000084fc040000",
  "00007c403c403c00",
  "00007c40403c0000",
  "0000384444380000",
  "00007e4848300000",
  "0030484a7e020200",
  "00007c2040400000",
  "0000245454480000",
  "00000040f8440000",
  "00007804047c0000",
  "0000700804087000",
  "0000780418047800",
  "0000442810284400",
  "0000700a0a7c0000",
  "0000444c54640000",
  "000018a4a4a40000",
  "0000182424a40000",
  "0000081454fc4000",
  "000024d454c80000",
  "000024acb4a40000"};

  
#define pixelCount 64
//amaker 
#define PANELPIN 4

#define LEDPIN 2
const char WiFiAPPSK[] = "aMakerESP8266";

