Definitionپێناسە
Noticing the moment an input changes, for example from HIGH to LOW (a ) when a button is pressed, instead of reacting all the time while it is held. The program compares the new reading with the last one.
تێبینیکردنی ئەو ساتەیە کە نێوخستەیەک دەگۆڕێت، بۆ نموونە لە HIGHـەوە بۆ LOW () کاتێک دوگمەیەک دەپەستێنرێت، لە جیاتی ئەوەی بە درێژایی گرتنەکەی کاردانەوەی هەبێت. خوێندنەوە نوێیەکە لەگەڵ کۆتا خوێندنەوەدا بەراورد دەکات.
Picturesوێنەکان
Exampleنموونە
The LED toggles once per press, not every loop while the button is held.
بۆ هەر پەستانێک یەک جار دەگۆڕێت، نەک لە هەموو خولێکدا تا دوگمەکە گیراوە.
bool now = digitalRead(2);
if (last == HIGH && now == LOW) toggleLed(); // pressed just now
last = now;Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
دۆزینەوەی لێوارەکە، دۆزینەوەکانی لێوار، دۆزینەوەیەکی لێوار، دۆزینەوەی لێواری، دۆزینەوەکانی لێواری، دۆزینەوەیەکی لێواری
Note on the Kurdish termتێبینی لەبارەی زاراوە کوردییەکە
Built on the registry's rising-edge «لێواری بەرزبوونەوە» and falling-edge «لێواری نزمبوونەوە». Proposed.