aboutsummaryrefslogtreecommitdiffstats
path: root/Lab3.X/numpad.c
diff options
context:
space:
mode:
authorMatt Strapp <msattr@gmail.com>2020-02-28 11:22:40 -0600
committerMatt Strapp <msattr@gmail.com>2020-02-28 11:22:40 -0600
commit595ca1cd8a9a543884c1569daa83139e61e63601 (patch)
treec43cf3e4105f89855f8f039ae62b9b007307095b /Lab3.X/numpad.c
parentFix small things (diff)
downloadee2361-595ca1cd8a9a543884c1569daa83139e61e63601.tar
ee2361-595ca1cd8a9a543884c1569daa83139e61e63601.tar.gz
ee2361-595ca1cd8a9a543884c1569daa83139e61e63601.tar.bz2
ee2361-595ca1cd8a9a543884c1569daa83139e61e63601.tar.lz
ee2361-595ca1cd8a9a543884c1569daa83139e61e63601.tar.xz
ee2361-595ca1cd8a9a543884c1569daa83139e61e63601.tar.zst
ee2361-595ca1cd8a9a543884c1569daa83139e61e63601.zip
Should fix #1
Diffstat (limited to '')
-rw-r--r--Lab3.X/numpad.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lab3.X/numpad.c b/Lab3.X/numpad.c
index 5c2c924..5d9f0ce 100644
--- a/Lab3.X/numpad.c
+++ b/Lab3.X/numpad.c
@@ -10,11 +10,11 @@ void initKeyPad(void) {
CNPU1bits.CN3PUE = 1; //RA1
CNPU2bits.CN30PUE = 1; //RA2
CNPU2bits.CN29PUE = 1; //RA3
- T1CON = 0;
- PR1 = 15999;
- TMR1 = 0;
- IFS0bits.T1IF = 0;
- T1CONbits.TON = 1;
+// T1CON = 0;
+// PR1 = 15999;
+// TMR1 = 0;
+// IFS0bits.T1IF = 0;
+// T1CONbits.TON = 1;
}
void padDelay(long n) {