Hi ghost2501,
Which module do you have?
Search found 785 matches
- 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: 5915
- 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: 29597
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: 29597
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: 29597
- 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: 29597
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: 29597
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: 4665
- 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: 29597
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...
- Tue May 02, 2006 8:23 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: GPO on LCD4041
- Replies: 7
- Views: 5542
- Tue May 02, 2006 8:13 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29597
Hi evan, It's good to hear that we are moving forward. 'K' is 0x4B, and I see that in clrscrn() you have 0x4B loaded in the SSPBUF without the command prefix 0xFE, this is why you see the 'K'. You should load in 0xFE first then 0x4B. I want to remind you to address the slave with 0x5C. We should hav...
- Mon May 01, 2006 5:30 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29597
Hi evan, This is just one thing I want to suggest, all the actions on the I2C transaction will result to the same flag being set, so instead of checking for: SSPCON2bits.SEN = 1; //send start bit while(SSPCON2bits.SEN); //wait for it to clear or SSPCON2bits.PEN = 1; //send stop bit while(SSPCON2bits...
- Mon May 01, 2006 4:59 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29597
Hi evan, You are right, the default address of the LK204-25 with jumpers 1 and 2 connected is 0x5C. Matrix Orbital does not fully follow the 7-bit addressing implemented by Philips, but it is actually a lot simpler. 0x5C is the default write address, and that 0x5D (0x5C + 1) is the read address. 0x5...
- Mon May 01, 2006 11:51 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: I2C on my 18f452.....please help
- Replies: 27
- Views: 29597
Hi evan, Thank you for posting on the forum. You should be able to see activity on the SDA and SCL pins on their own, so start with no display connected. Also, I see that you addressed the slave with 0xB8, a reminder to change the slave address on the module when you do connect it back. I'll still b...
- Tue Apr 25, 2006 1:17 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Smoked my new MX212
- Replies: 2
- Views: 2699
Hi Frank, Thank you for posting on the forum. Sorry to hear that your MX212 smoked. The reason for smoking the controller (or any component) is usually a short on power and ground, or it could be too much voltage. In the case of your fan, make sure that it is hooked up correctly and that it does not...
- Mon Apr 24, 2006 3:17 pm
- Forum: MOC/MOS/MOI/MOU/X-Board/MOP
- Topic: X-Board with Noritake VFD
- Replies: 3
- Views: 8779