Search found 6 matches
- Wed Apr 13, 2005 12:36 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Problems with MSSP??
- Replies: 10
- Views: 10794
Rookie mistake
So I got the display working with the expected address(0x5C). It turned out to be the wiring that caused the problem. I feel kind of silly, but I am glad it is working. Thanks for your help I will let you know if I have any other questions.
- Mon Apr 11, 2005 3:47 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Problems with MSSP??
- Replies: 10
- Views: 10794
- Mon Apr 11, 2005 12:06 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Problems with MSSP??
- Replies: 10
- Views: 10794
- Mon Apr 11, 2005 9:01 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Problems with MSSP??
- Replies: 10
- Views: 10794
- Fri Apr 08, 2005 1:52 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Problems with MSSP??
- Replies: 10
- Views: 10794
Cont...
Here is my i2c code using MSSP. So I am moving the address of the display into DEVADD and the data I want to send into DATAOUT then call MyI2COut.
MyI2COut
;SLEW RATE CONTROL
movlw B'00000000'
banksel SSPSTAT
movwf SSPSTAT ;slew rate disabled
banksel SSPCON
movlw B'00111000' ;Enable I2C ...
MyI2COut
;SLEW RATE CONTROL
movlw B'00000000'
banksel SSPSTAT
movwf SSPSTAT ;slew rate disabled
banksel SSPCON
movlw B'00111000' ;Enable I2C ...
- Fri Apr 08, 2005 12:24 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Problems with MSSP??
- Replies: 10
- Views: 10794
Problems with MSSP??
HI,
I am developing an interface using the LCD2041 and a 4x4 matrix keypad. The microcontroller I am using is a PIC16C774 and I am programming it with assembly. However, thus far, I have been unable to communicate with the LCD. I can see the change on the SCL and SDA lines through an oscilloscope ...
I am developing an interface using the LCD2041 and a 4x4 matrix keypad. The microcontroller I am using is a PIC16C774 and I am programming it with assembly. However, thus far, I have been unable to communicate with the LCD. I can see the change on the SCL and SDA lines through an oscilloscope ...