This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the TWI master mode basic services example.
The TWI API can be found here.
All AVR or SAM devices can be used. When use the example in Xplained Pro Kits, we need connect an IO1 Xplained Pro board to the proper EXT port. For information of the IO1Xplained Pro board, visit IO1 web link. This example has been tested with the following setup:
The given example uses one kit as a TWI master:
LED0 gives the result of the test: If FAILED: LED0 is off. If PASS: LED0 is on at the end of the test.
This software was written for the GNU GCC and IAR for AVR or SAM. Other compilers may or may not work.
For further information, visit Microchip.