diff options
author | Matt Strapp <msattr@gmail.com> | 2020-02-28 11:22:40 -0600 |
---|---|---|
committer | Matt Strapp <msattr@gmail.com> | 2020-02-28 11:22:40 -0600 |
commit | 595ca1cd8a9a543884c1569daa83139e61e63601 (patch) | |
tree | c43cf3e4105f89855f8f039ae62b9b007307095b /Lab3.X/numpad.c | |
parent | Fix small things (diff) | |
download | ee2361-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.c | 10 |
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) {
|