Обновить PetFilaMachine.ino
This commit is contained in:
		
							parent
							
								
									b7c022e2f2
								
							
						
					
					
						commit
						9b59c2ffda
					
				| 
						 | 
				
			
			@ -384,7 +384,7 @@ void loop()
 | 
			
		|||
    // (после вызова можно получать это значение как regulator.output)
 | 
			
		||||
    // обновление происходит по встроенному таймеру на millis()
 | 
			
		||||
    regulator.getResult();
 | 
			
		||||
    analogWrite(D0, regulator.output);  // отправляем на мосфет
 | 
			
		||||
    analogWrite(D0, regulator.getResultTimer());  // отправляем на мосфет
 | 
			
		||||
  }
 | 
			
		||||
  if (motor_state == 1){
 | 
			
		||||
    if (motor_dir == 0){
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue