소스 검색

Update MPPT_Code_ESP8266.ino

OpenGreenEnergy 10 년 전
부모
커밋
1b9d473d82
1개의 변경된 파일3개의 추가작업 그리고 17개의 파일을 삭제
  1. 3 17
      MPPT_Code_ESP8266/MPPT_Code_ESP8266.ino

+ 3 - 17
MPPT_Code_ESP8266/MPPT_Code_ESP8266.ino

@@ -407,21 +407,6 @@ void run_charger(void) {
       break;
   }
 }
-//------------------------------------------------------------------------------------------------------
-// Main loop.
-//
-//------------------------------------------------------------------------------------------------------
-void loop()                         
-{
-  read_data();                         //read data from inputs
-  run_charger();                      //run the charger state machine
-  //print_data();                      //print data
-  load_control();                    // control the connected load
-  led_output();                      // led indication
-  lcd_display();                    // lcd display
-  wifi_datalog();
-  delay(500);
-}
 
 //----------------------------------------------------------------------------------------------------------------------
 /////////////////////////////////////////////LOAD CONTROL/////////////////////////////////////////////////////
@@ -600,8 +585,9 @@ void backLight_timer(){
   if((millis() - time) <= 15000)         // if it's been less than the 15 secs, turn the backlight on
       lcd.backlight();                   // finish with backlight on  
   else 
-      lcd.noBacklight();                 // if it's been more than 15 secs, turn the backlight off
->>>>>>> bad0d746d2a86af933d66a9ca0fdc61c6db8619a
+      lcd.noBacklight();                 // if it's been more than 15 secs, turn the backlight off 
+      
+
 }
 void spinner(void) {
   static int cspinner;