From ac1c6db12d756d6c758f5deffa574c5abd028676 Mon Sep 17 00:00:00 2001 From: qufb <93520295+qufb@users.noreply.github.com> Date: Thu, 16 Nov 2023 22:27:01 +0000 Subject: [PATCH] Fix PH3 pin typo --- Cart_Reader/SMS.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cart_Reader/SMS.ino b/Cart_Reader/SMS.ino index 94201ca..da678b1 100644 --- a/Cart_Reader/SMS.ino +++ b/Cart_Reader/SMS.ino @@ -232,7 +232,7 @@ void writeByte_SMS(word myAddress, byte myData) { PORTF = myAddress & 0xFF; PORTK = (myAddress >> 8) & 0xFF; if (!adapter_retrode) { - // CE(PH3) and OE(PH6) are connected + // A15/M0-7(PH3) and OE(PH6) are connected PORTH = (PORTH & 0b11110111) | ((myAddress >> 12) & 0b00001000); } @@ -304,7 +304,7 @@ byte readByte_SMS(word myAddress) { PORTF = myAddress & 0xFF; PORTK = (myAddress >> 8) & 0xFF; if (!adapter_retrode) { - // CE(PH3) and OE(PH6) are connected + // A15/M0-7(PH3) and OE(PH6) are connected PORTH = (PORTH & 0b11110111) | ((myAddress >> 12) & 0b00001000); }