#if defined(CHIP_LPC1125) #error "LPC1125 support for the PMU driver is not ready" #endif |
/** @defgroup EXAMPLES_PERIPH_11XX_I2C LPC11xx I2C example * @ingroup EXAMPLES_PERIPH_11XX * Example description * This example shows how to use I2C as master or slave and communicate between Master and * Slave with polling/interrupt mode. (Interrupt mode is default) * * After setting up connection, run the example in both the boards. At regular intervals * both the boards will send data as master and receive data from master hence blinking * the LED at regular intervals (Both boards will act as master as well as slave). * * Special connection requirements * - User needs 2 boards and must setup the following connection between them * - Connect PIO0_5(SDA) of both the boards with a wire * - Connect PIO0_4(SCL) of both boards with a wire * - Connect J6-PIN1(GND) of both boards with a wire * - Pull up SDA & SCL using two 10K resistors between SDA,SCL and J6-PIN28(3v3) * |