Author |
Message |
Topic: sleep mode |
jab351c
Replies: 1
Views: 4210
|
Forum: General CCS C Discussion Posted: Sun Dec 10, 2006 9:17 pm Subject: sleep mode |
Im using a 18f4620 with a keypad linked to portB using the internal pullups. I am trying to put the PIC into sleep mode by pressing a button on my keypad and waking it up by pressing the same key, or ... |
Topic: compiling error |
jab351c
Replies: 4
Views: 5199
|
Forum: General CCS C Discussion Posted: Sat Dec 09, 2006 10:29 pm Subject: compiling error |
Why am I getting this error? It looks like I have semi-colons everywhere that I need them. I commented the line numbers for reference.
thanks,
Jeff
*** Error 76 " Line 326(11,14): Expe ... |
Topic: math problem |
jab351c
Replies: 3
Views: 5318
|
Forum: General CCS C Discussion Posted: Mon Dec 04, 2006 10:45 pm Subject: math problem |
Ok, I took your advice on everything except the goto. I will change it to a while loop eventually probably. I am still not getting the correct output on the LCD. Actually I am getting the exact sam ... |
Topic: math problem |
jab351c
Replies: 3
Views: 5318
|
Forum: General CCS C Discussion Posted: Mon Dec 04, 2006 5:48 pm Subject: math problem |
I went through and did these math calculations by hand and got the correct answer. My adc is at approximately 512 at room temperature. I am not sure if I am dealing with negative numbers correctly b ... |
Topic: reading a port as a byte |
jab351c
Replies: 4
Views: 5749
|
Forum: General CCS C Discussion Posted: Sun Dec 03, 2006 11:28 pm Subject: reading a port as a byte |
I think I am getting closer, atleast something is displaying. The only problem is that the LCD is displaying "=8". I believe that this is incorrect. The state of port A is 11001000 from p ... |
Topic: reading a port as a byte |
jab351c
Replies: 4
Views: 5749
|
Forum: General CCS C Discussion Posted: Sun Dec 03, 2006 9:58 pm Subject: reading a port as a byte |
Ok, I have set port A as an input. Now I am trying to display the decimal value of the port on an LCD. Can someone please tell me what I am doing wrong? I believe my main problem is that I do not ... |
Topic: keypad scan problem |
jab351c
Replies: 5
Views: 6805
|
Forum: General CCS C Discussion Posted: Mon Nov 27, 2006 7:09 pm Subject: keypad scan problem |
PCM Programmer,
I have commented out the stuff that you mentioned. My LCD is on ports a and b. The driver file for my LCD works for other applications and can be seen here:
[
// flex_lcd.c
... |
Topic: keypad scan problem |
jab351c
Replies: 5
Views: 6805
|
Forum: General CCS C Discussion Posted: Mon Nov 27, 2006 5:11 pm Subject: keypad scan problem |
I do have external pull up resistors present on my board and I eliminated the pull up on port b. But my LCD is not clearing and is showing solid blocks for the characters in the entire first row. Th ... |
Topic: keypad scan problem |
jab351c
Replies: 5
Views: 6805
|
Forum: General CCS C Discussion Posted: Mon Nov 27, 2006 3:33 pm Subject: keypad scan problem |
I can not seem to get my 4x4 matrix keypad scan to work. I am not a very strong programmer but here is the modified code I was trying with no success at all. I am using the pic18F4620 and the keypad ... |
|