Problems with PCA9555...
He all, I am having a problem getting the code from this thread working http://forums.parallax.com/showthread.php?102475-PCA9555-IO-Expander-Driver&p=719130&viewfull=1#post719130
I wired it exactly like the diagram noting the backword symbols for the LEDs and still get nothing. Can someone verify if the code works ok for them... Hope I didnt get some bad chips from digikey:blank: All five do not work.
I wired it exactly like the diagram noting the backword symbols for the LEDs and still get nothing. Can someone verify if the code works ok for them... Hope I didnt get some bad chips from digikey:blank: All five do not work.
Comments
I have this wired up on PPDB, using the dipswitch as the two switches used in the schematic. I wired and rewired this several times to make sure I didn't make any mistakes. This is the code provided for the program, the pca9555 driver will follow.
pca9555.spin
Help is appreciated. I am getting activity on the SDA and SCL lines. Should I instead rewire the LED's to ground and set the IO lines to outputs? Is the code missing something?
Also, make sure you don't have something like a PCA9555A, with a different i2c address...
Can you read anything from the chip?
Edit:
The IC's are PCA9555N, I think it is time to invest in some 22awg stranded wire instead of solid. Now I will try to connect the 16Segment LED display with a couple of these and try to get a DMM schematic wired up as I2C, I'll post in the Projects section or my Blog once I get something working if anyone is interested...
Thanks for the Input Rayman.
Oh, By the way, There is no code in obex for the PCA9555 IC, if the author is still around can you add this driver and demo to OBEX?