Yes, it is similar because that's were I took it from :). The Arduino Mega 2560 has 10K pull up resistors on SDA and SCL data lines.
I've tried sending 0x50 as well without any luck. :( not sure what's going on here.
Search found 8 matches
- Tue Sep 04, 2012 11:07 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: LK204-25 Rev 2.0 w/Arduino Mega2560 I2C
- Replies: 3
- Views: 4648
- Mon Sep 03, 2012 4:17 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: LK204-25 Rev 2.0 w/Arduino Mega2560 I2C
- Replies: 3
- Views: 4648
LK204-25 Rev 2.0 w/Arduino Mega2560 I2C
Hello, I'm trying to figure out how to get this thing going over I2C. I can't even clear the screen. I've tried with TTL using the Arduino Mega2560 board and it works well that way. By default the LCD is Address is 0x50 and when shifted right for 7-bits I get 0x28. Below is the code I've tried sendi...
- Fri Dec 11, 2009 7:55 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: High light a line!
- Replies: 2
- Views: 4118
High light a line!
Hello, I'm trying to create a menu for my LCD (LK204-25). I want to know how could it be possible for me to high light a line? The user will be using UP/DOWN key to "scroll" the menu. I can send data to the LCD, I'm just trying to figure out how to high light a line. that's all Thanks :jaw...
- Thu Jun 04, 2009 4:52 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: PIC18F452 USART to LK204-25
- Replies: 7
- Views: 7712
- Thu Jun 04, 2009 3:16 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: PIC18F452 USART to LK204-25
- Replies: 7
- Views: 7712
Ok..so I went away from my code to try to figure this out... I wrote the following simple code... while(TRUE) { for(x=0;x<10000;x++); for(x=0;x<10000;x++); WriteUSART(0xFE); for(x=0;x<10000;x++); for(x=0;x<10000;x++); WriteUSART(0x47); for(x=0;x<10000;x++); for(x=0;x<10000;x++); WriteUSART(0x01); fo...
- Thu Jun 04, 2009 8:39 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: PIC18F452 USART to LK204-25
- Replies: 7
- Views: 7712
the clear command works just fine and the lcd is able to display text. I was able to fix the problem i was having before using the printf command. anyways there was an F being left of when the button was pressed and message displayed ONF. I added a space to ON and fixed that, not sure if that is the...
- Wed Jun 03, 2009 1:15 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: PIC18F452 USART to LK204-25
- Replies: 7
- Views: 7712
PIC18F452 USART to LK204-25
Hello all, I have written a code in C18 for PIC 18F452 to drive the LCD using the serial cable. I'm able to display a line which states if an LED is on/off. This works just fine, the problem is that at the end of the text in row 1 there is a box that doesn't go away. RB0 LED IS: OFF[] or RB0LED IS: ...
- Fri Dec 05, 2008 10:09 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: 16F877A and Serial LCD Display
- Replies: 1
- Views: 3311
16F877A and Serial LCD Display
Hello all, I'm new to the pic world and I have already done some work with them like turning leds on and using the A/D converter, etc. Now I want to move to a serial LCD and use the PIC 16F877A to display data on it, like voltage, RPM, temperature and some other things. I want to use ASM and I have ...