From edeed6358eea42bb437bc9b2a5422ccbfe0f3b9e Mon Sep 17 00:00:00 2001 From: Robin Diddams Date: Fri, 25 Oct 2024 13:51:04 -0500 Subject: [PATCH] fix typos in example code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8ebf7b7..89df605 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ void setup() { } // Create the reader and attach it to the system. - reader1 = HidProxWeigand.addReader(PIN_DATA0, PIN_DATA1, cardReadHandler); + reader1 = HidProxWiegand.addReader(PIN_DATA0, PIN_DATA1, cardReadHandler); // Attach interrupt handlers for reader 1. HidProxWiegand_AttachReaderInterrupts(PIN_DATA0, PIN_DATA1, handleInterrupt0, handleInterrupt1); @@ -105,7 +105,7 @@ void setup() { void loop() { // Process any cards that have been read. - HidProxWeigand.loop(); + HidProxWiegand.loop(); } ```