Ammeter_Voltmeter_PIR_Motion_Sensor_ESP8266_Finger_print_DHT_Thermocouple_light_sensor_combined_code
Dependencies: DHT ESP8266 GT511C3 mbed
Revision 2:de62e3947c87, committed 2017-04-28
- Comitter:
- agaikwad
- Date:
- Fri Apr 28 15:47:00 2017 +0000
- Parent:
- 1:8384e8b0fc22
- Commit message:
- Updated comments
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 8384e8b0fc22 -r de62e3947c87 main.cpp --- a/main.cpp Thu Apr 27 17:31:13 2017 +0000 +++ b/main.cpp Fri Apr 28 15:47:00 2017 +0000 @@ -296,7 +296,7 @@ FPS_Ret = FPS_Wait_Time(1,true,&FPS_Delay); if(FPS_Ret == 1) { - FRDM_UART_Debug.printf("Motion detected, press Finger within %d seconds to Authenticate and display data\r\n",FPS_Delay); + FRDM_UART_Debug.printf("Motion detected, press Finger within %d seconds to Authenticate and display data\r\n",FPS_Delay/1000); FPS_Ret = FPS_Wait_Time(1,false,&FPS_Delay); if(FPS_Ret == 1) { @@ -652,11 +652,11 @@ strcat(ESP_8266_CMD_Send,"\""); ESP_8266_UART.SendCMD(ESP_8266_CMD_Send); - if(FPS_Auth) + //if(FPS_Auth) FRDM_UART_Debug.printf(ESP_8266_CMD_Send); wait(5); ESP_8266_UART.RcvReply(ESP_8266_CMD_Recv, 400); - if(FPS_Auth) + //if(FPS_Auth) FRDM_UART_Debug.printf(ESP_8266_CMD_Recv); } else @@ -664,11 +664,11 @@ strcpy(ESP_8266_CMD_Send,"AT+CIPMUX=0"); ESP_8266_UART.SendCMD(ESP_8266_CMD_Send); - if(FPS_Auth) + //if(FPS_Auth) FRDM_UART_Debug.printf(ESP_8266_CMD_Send); //wait(2); ESP_8266_UART.RcvReply(ESP_8266_CMD_Recv, 400); - if(FPS_Auth) + //if(FPS_Auth) FRDM_UART_Debug.printf(ESP_8266_CMD_Recv); } @@ -719,7 +719,7 @@ wait(100); i++; } - if(FPS_Auth) + //if(FPS_Auth) FRDM_UART_Debug.printf("R\r\n%s",ESP_8266_CMD_Recv); ESP_8266_UART.SendCMD(ESP_8266_CMD_Send); //Post value to thingspeak channel @@ -732,7 +732,7 @@ wait(100); i++; } - if(FPS_Auth) + //if(FPS_Auth) FRDM_UART_Debug.printf("R\r\n%s",ESP_8266_CMD_Recv); }