Search found 3 matches

by tedlarson
Mon Aug 11, 2008 5:21 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C Read not working...
Replies: 9
Views: 6892

Hi Ted, You'll want to make sure that the unit is responding via I2C rather than RS232. To do this, you'll have to issue the command found in your manual under the communication setting. It'll be three (3) bytes total, 254, 160, then a 0 or 1 depending on whether transmission in RS232 is turned on ...
by tedlarson
Wed Aug 06, 2008 7:28 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: i2c with PICs MSSP and Hi-Tech PIC C
Replies: 13
Views: 42761

jheiv wrote:It works great! Thanks again for your time. If anyone is needs code that uses the hardware MSSP peripheral on a PIC this code works now!

Thanks again.
-Jim
Were you ever able to get the i2c_read to work? Or only writing to the display.

-Ted
by tedlarson
Wed Aug 06, 2008 6:28 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C Read not working...
Replies: 9
Views: 6892

I2C Read not working...

I have a GLK19264-7T-1U. I can control the display with i2c, and display information with no problem. However, I cannot get the read to work. I am trying to read the keypad. I am using a CCS compiler on a PIC18F252 chip, with a hardware i2c controller on board. My read routine looks like: i2c_start(...