From 9b59c2ffdafac8427daa05435fe31026715fb58a Mon Sep 17 00:00:00 2001 From: mirivlad Date: Sat, 27 Jan 2024 06:02:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20PetFilaMachine.ino?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PetFilaMachine.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PetFilaMachine.ino b/PetFilaMachine.ino index 85e2562..c5d4a5e 100644 --- a/PetFilaMachine.ino +++ b/PetFilaMachine.ino @@ -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){