-
I2C problems
Hi All,
I'm having trouble with I2C. I am trying to communicate with a MAX6953, which is a 5x7 LED matrix display driver. I have had the device up and running with a Stamp, but can't get it to work with a PIC.
The PIC I am using is the 16F88. I am using the internal OSC at 8mHz. I am using portb.0 for SDA and portb.1 for SCL. I have tried using the DEFINE I2C_Slow.
Any ideas what could be causing the problem?
Thanks,
Jonathan
-
Defines should all be in UPPERCASE and ensure you check your SPELLINGS of them, as they may not flag errors in any compilation...
http://www.picbasic.co.uk/forum/showthread.php?t=558
I2CREAD and I2CWRITE are really easy to fly with no issues providing you follow the rules in the PICBasic manual...
http://www.picbasic.co.uk/forum/showthread.php?t=587
Please do check the FAQ's...
-
Melanie,
I had checked the FAQ, your posts and the book. The problem turned out to be (after mucho hair pulling) a bum PIC pin.
Thanks for the help tho!
Jonathan