From efcc29041b7cbd228f95e9ac2f053cd8515a801e Mon Sep 17 00:00:00 2001 From: morganPigeron <37436664+morganPigeron@users.noreply.github.com> Date: Mon, 13 Aug 2018 10:27:59 +0200 Subject: [PATCH] Update Hctl2022.cpp --- Hctl2022.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Hctl2022.cpp b/Hctl2022.cpp index 0641bfa..6939848 100644 --- a/Hctl2022.cpp +++ b/Hctl2022.cpp @@ -2,13 +2,13 @@ #include "Hctl2022.h" //hardcoded arduino port used -#define SET_PORT DDRB -#define READ_PORT PINB +#define SET_PORT DDRD +#define READ_PORT PIND Hctl2022::Hctl2022(int oe, int sel1, int sel2) { // 8 bits bus from hctl2022 - SET_PORT = B00000000; // set pin 13,12,11,6,5,4,3,2 as input + SET_PORT = B00000000; // set pin 7,6,5,4,3,2,1,0 as input // enable pinMode(oe, OUTPUT);