   digitalWrite(63,LOW);  // CS
   pinMode(62,OUTPUT);
   digitalWrite(62,LOW); // RESET
-  delay(100);
+  delay(10);
   digitalWrite(62,HIGH); // RESET
-  delay(100);
+  delay(10);
 
   lcd.begin(20, 4);
 

{
  int j;
  for(j=0;!Serial1.available() && j<ms; j++) delay(1);
  if(j==ms) return false;
  else      return true;
}



void encoder_callback(int id, int d)
{
  // redFlySend("AT+RSI_PWMODE=0");

  String msg="{\"k\":";
  msg+=String(id)+",\"d\":"+String(d)+"}\n";
