Just started play with that module and confusing me the pin LED1. Do I need IRLED connected to this pin as this module has integrated irled on chip, if not then where does this pin have to be connected ? I just want to make a simple application to detect intensity of the sun light and ignore any other light sources like lamps, torches.
You don't need to use any LED if you're measuring ambient light. LED2 and LED3 have to be connected to VDD even if you're not using them. You can leave LED1/A pin not connected.