Created Tue, 23 Feb 2016 17:28:17 +0000 by nitipongs
Tue, 23 Feb 2016 17:28:17 +0000
My application needs to use 2 of I2C port simultaneously .
How to use 2nd I2C port on chipKIT uC32 ?
Tue, 23 Feb 2016 18:38:42 +0000
For that you need to get to grips with the DTWI library (included with the IDE / core), which allows you access to all the I2C ports on your board. The Wire library is just a wrapper to the DTWI library for the one port. To access the other you need to go "direct to the source".
Wed, 24 Feb 2016 00:54:34 +0000
If I want to create another library for 2nd channel I2C on uC32 named Wire2. What changes should I made to Wire library ?