From 047f14d8778ac9f534517a15859976262b04aa43 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 16 Mar 2015 21:14:57 -0700 Subject: [PATCH] New high-performance SX1509 pin read/write support that doesn't send any i2c traffic until the calling code asks it to. --- sx1509_library.cpp | 28 ++++++++++++++++++++++++++++ sx1509_library.h | 9 ++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/sx1509_library.cpp b/sx1509_library.cpp index eddb20ea..32b4a78e 100644 --- a/sx1509_library.cpp +++ b/sx1509_library.cpp @@ -152,6 +152,34 @@ byte sx1509Class::rawReadPin(byte pin) return (readWord(REG_DATA_B) & (1<