![]() If you want to access the other ports you should forgo the Wire library and use the DTWI library instead.Ī typical I2C bus will require one set of Pull-Up resistors shown as Rp in the diagram. The Wire library only works with the default port. Note that many of the chipKIT boards have multiple I2C ports. ![]() Be sure to read the manual on your chipKIT board for proper setup. It may be necessary to select the behavior of thse pins using a Jumper. ![]() To remain compatible with Arduino boards these lines are shared with Analong Pins A4 and A5 on chipKIT boards. I 2C requires 2 signal lines for data transfer called SDA(Data) and SCL(Clock). This library allows you to commicate with I 2C devices which are sometimes also called Two Wire Interface (TWI).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |