PIC32 Example codes for following interfaces
Interfaces: I2C, SPI, ADC, PWM
For PWM: Piezo BUzzer is connected to PIC microcontroller on OC1 module.
For SPI: 25AA010 (Serial EEPROM-SPI) is connected to PIC microcontroller on SPI1.
For I2C: MCP7940N (I2C RTC) is connected to PIC Microcontroller I2C2
For ADC: MCP9700 (Analog temperature sensor)