Set up I2C communication between a microcontroller (Master) and three I2C slave devices.
I2C Slave Devices:
- RTC module (e.g., DS1307) for real-time date and time.
- BMP180 sensor for environmental data (temperature, pressure, altitude).
- OLED display (SSD1306) to display data.
Tasks:
- Read the date and time from the RTC module.
- Read pressure, temperature, and altitude from the BMP180 sensor.
- Display the date, time, pressure, temperature, and altitude on the OLED screen.
- Update all the readings every second.
Example:
