Hi Danny,
I have replied to you via email.
Thank you.
Search found 792 matches
- Mon May 15, 2006 10:30 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: problem with lcd2041
- Replies: 8
- Views: 7426
- Mon May 15, 2006 9:38 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: problem with lcd2041
- Replies: 8
- Views: 7426
- Fri May 12, 2006 9:52 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: LK204-25 freezing after I2C write...
- Replies: 3
- Views: 2738
Hello Matt, Thank you for posting on the forum. Can you please tell me the PCB rev# and the firmware version of your LK204-25? The PCB# should be on the board, the firmware version can be queried by connecting the module via RS232 or TTL and sending the command 254 / 54. I am a little rusty on my ba...
- Tue May 09, 2006 10:59 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
- Tue May 09, 2006 10:42 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
- Tue May 09, 2006 10:40 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
Hi evan, Please note that getKey() has SSPCON2bits.RCEN = 1 at the beginning of the function, this is not in the code that I suggested to try. For this loop: loop: kp = getKey(); if(kp == 0xff){ goto loop; } printChar(kp); goto loop; how about putting a check for 0x00, because this will be the value...
- Tue May 09, 2006 10:12 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
Hi evan, Can you tell me how far in the code you get? Do you still see blocks displayed on the module? Any of the keys you press get transmitted? If you can, please insert debug code to see which part of the code is actually reached and stepped through, and which is not reached. I'll try to find an ...
- Mon May 08, 2006 9:23 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: RX/TX LED HEADERS
- Replies: 7
- Views: 5943
- Fri May 05, 2006 1:45 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
Hi evan, The poll keypad command is for RS232/TTL communication. This feature is offered to hosts that do not want the module to automatically send the keypresses. These hosts needs to send the Turn Auto Transmit off command. And for these hosts to retrieve the keypresses, they send the poll keypad ...
- Fri May 05, 2006 11:50 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
Hi evan, Put back the old: do { kp = getKey(); } while (!kp) printChar(kp); to get rid of the blocks, press keys and see if your receive them. Also note the following suggested changes: unsigned char getKey(void) { unsigned char keyPressed = 0x00; SSPCON2bits.SEN = 1; //send start bit while(!PIR1bit...
- Fri May 05, 2006 11:29 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
- Wed May 03, 2006 4:10 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
Hi evan, I notice that you have a cursor(0x98) command, I am not sure what that is for. Also just wondering about the extra while(1)'s in main, compiler must have warned you about that. The commands that you have within clrscrn() look good. How about adding a debug code right after clearing the scre...
- Wed May 03, 2006 12:50 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
Hi evan, I went back to the PIC data sheet and found that you have to configure the I2C port to receive data. You do this by setting SSPCON2<3>, please see waveform Fig. 15-22 on page 157 of the PIC18F452 data sheet. I see that in getKey(), you set SSPCON1.CKP, I am not sure why, but I believe that ...
- Tue May 02, 2006 11:37 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: LCD4041 backlight not working
- Replies: 5
- Views: 4691
- Tue May 02, 2006 11:33 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29686
Hi evan, Since you have a 20 column display, and the word 'Hello' is 5 characters, it'll be best to put the cursor at column 8. So before sending 'Hello' send command 0xFE, 0x47, 0x08, 0x01. <0x08> is the column, <0x01> is the row (change this to 0x02 if you want the text in the second row, 0x03 for...