Changing coding for the BH1750 Sensor

Hi all,

I am hoping to use the BH1750, DHT22, and adafruit data logger shield for a project. As I understand it the shield requires the use of analog pins 4 and 5. I am currently using those for the BH1750 shield and am not sure how to adapt my code to use two different analog pins, possibly pins 1 and 2. I have attached my current code. Any recommendations/example coding/project links would be appreciated as I am rather new at coding. Thank you! (4.69 KB)

4 and 5 are the pins for the I2C bus. Theoretically up to 127 devices can be connected to those two pins. As long as every device has a different I2C address. Leo..