The 87LPC76X Microcontroller combines in a small package the benefits of a high-performance microcontroller with on-board hardware supporting the Inter-Integrated Circuit (I2C) bus interface. The 87LPC76X can be programmed both as an I2C bus master, a slave, or both. An overview of the I2C bus and description of the bus support hardware in the 87LPC76X microcontrollers appears in application note AN464, Using the 87LPC76X Microcontroller as an I2C Bus Master. That application note includes a programming example, demonstrating a bus-master code. Here we show an example of programming the microcontroller as an I2C slave.