I2C Ports on 32910 Propeller Activity Board?
oakguy
Posts: 21
I have the HCM5883L compass board that requires or calls for attachment to the SDA and SCL ports. I don't see those ports are available. Is there a work around for the using data pins instead? Researching myself but I thought I might query the board!
Thanks
Thanks
Comments
You can use almost any of the propeller's digital I/O pins, but here are some good examples of what pins to use and how to code for this...
For Spin:
http://learn.parallax.com/KickStart/29133
For C (using SimpleIDE):
I hope this helps!
dgately
The nice thing about the Propeller is that you can any pins to any hardware output. You can use a variety of objects in the OBEX to use in SPIN, the native Propeller language, or C as dgately has shown. You can also use Pins 28 and 29 that you could share with and EEPROM.
New questions are always welcome here.
EDIT Dang!! I have to learn how to type faster. Mike and Duane where first, as usual.
Duane..good call on the lack of access on P28.P29
Very cool and very helpful!