From 5d5f0551c8c739d140d7fc477c39636b2e48c771 Mon Sep 17 00:00:00 2001 From: Chankster Date: Fri, 16 Dec 2016 23:49:16 -0600 Subject: [PATCH] Fixing pooling -> polling --- README.md | 4 ++-- examples/{pooling/pooling.ino => polling/polling.ino} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename examples/{pooling/pooling.ino => polling/polling.ino} (96%) diff --git a/README.md b/README.md index 7ef09b1..33ee40b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ _It is event-driven_! - The extra `void*` parameter on the callbacks are useful if you are using instances in your code. _It is hardware-agnostic_! -- It's up to you to detect input changes. You may use [External Interruptions](examples/interrupts/interrupts.ino), [Pooling](examples/pooling/pooling.ino), or something else. +- It's up to you to detect input changes. You may use [External Interruptions](examples/interrupts/interrupts.ino), [Polling](examples/polling/polling.ino), or something else. @@ -134,7 +134,7 @@ Since the hardware changes a lot, this library doesn't assume anything on how to When the state of a pin has changed, it's up to you to call `Wiegand.setPinState(pin, state)`. -There are examples on how to use it with [Interruptions](examples/interrupts/interrupts.ino) and [Pooling](examples/pooling/pooling.ino) on Arduinos. +There are examples on how to use it with [Interruptions](examples/interrupts/interrupts.ino) and [Polling](examples/polling/polling.ino) on Arduinos. (You probably want to use interruptions) diff --git a/examples/pooling/pooling.ino b/examples/polling/polling.ino similarity index 96% rename from examples/pooling/pooling.ino rename to examples/polling/polling.ino index 7eb910b..1e9a26c 100644 --- a/examples/pooling/pooling.ino +++ b/examples/polling/polling.ino @@ -25,7 +25,7 @@ void setup() { pinMode(PIN_D1, INPUT); } -// Continuously checks for pending messages and pools updates from the wiegand inputs +// Continuously checks for pending messages and polls updates from the wiegand inputs void loop() { // Checks for pending messages wiegand.flush();