GyverTwink icon indicating copy to clipboard operation
GyverTwink copied to clipboard

помилкb з EncButton та FastLED

Open evDemidDp opened this issue 1 year ago • 4 comments

Станом на 01-12-2024. FastLED - остання робоча версія 3.7.6. при 3.7.7. починаються помилки.

для EncButton

  1. змінилось визначення класу тому в основному скетчі GyverTwink_v1_2 строку 61 міняємо. на: // EncButton<EB_TICK, BTN_PIN> btn; Button btn(BTN_PIN);

  2. функція state() вже не використовується тому в startup.ino строка 32 міняємо: if (btn.pressing()) return true; // btn.state()

evDemidDp avatar Dec 10 '24 20:12 evDemidDp

Try button.clicked()

zackees avatar Dec 17 '24 23:12 zackees

Не могу откомпилировать, ошибка Compilation error: 'EncButton' is not a template на шаге EncButton<EB_TICK, BTN_PIN> btn;

lexhome avatar Dec 26 '24 12:12 lexhome

Читать гайд для новичков!!!

GyverLibs avatar Dec 26 '24 13:12 GyverLibs

Не могу откомпилировать, ошибка Compilation error: 'EncButton' is not a template на шаге EncButton<EB_TICK, BTN_PIN> btn;

тому в основному скетчі GyverTwink_v1_2 строку 61 міняємо. на: // EncButton<EB_TICK, BTN_PIN> btn; Button btn(BTN_PIN);

evDemidDp avatar Dec 27 '24 20:12 evDemidDp