aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsanni <[email protected]>2023-11-20 08:16:53 +0100
committerGitHub <[email protected]>2023-11-20 08:16:53 +0100
commit4dc86f40b93bf0a731d277f3e02e637703a05b8f (patch)
tree47ee174cca052cf2818c738ffd674eda9150f334
parent68a7958905cefffbc15e63590b204c9992fa43cd (diff)
parentac1c6db12d756d6c758f5deffa574c5abd028676 (diff)
downloadcartreader-4dc86f40b93bf0a731d277f3e02e637703a05b8f.tar.gz
cartreader-4dc86f40b93bf0a731d277f3e02e637703a05b8f.zip
Merge pull request #867 from qufb/sms
Fix PH3 pin typo
-rw-r--r--Cart_Reader/SMS.ino4
1 files 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);
}