From 58ea9d05f7ed9f25d2fab001ad0cbcc4147c7d69 Mon Sep 17 00:00:00 2001 From: Mirivlad Date: Sat, 12 Mar 2022 21:39:52 +0800 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4572b4f..85b9f64 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,8 @@ I started making a machine for pulling a ribbon from PET bottles into a rod for I decided that maybe it would be a good practice for me to try to write my own firmware. And so that there are no more questions - I took instead of arduino nano - esp8266. The author of the machine does not have firmware for this controller, and the microcontroller itself is currently in short supply of semiconductors - cheaper than Arduino nano. -// ================ BUTTON ================ +================ BUTTON ================ + bool busy(); // вернёт true, если всё ещё нужно вызывать tick для опроса таймаутов bool state(); // текущее состояние кнопки (true нажата, false не нажата) bool press(); // кнопка была нажата [однократное срабатывание]