Problem with interfacing Adafruit Optical sensor and GSM shield2 with ArduinoUNO

Hi Everyone

Could you please assist, Im failing to compile a code that involves GSM shield2 and Adafruit optical sensor,

GSM shield 2 uses pin 2 and 3 using softwareserial.h library.

Now I assigned pin 8 and 9 for optical sensor, now it looks like there is a conflict between these two.

Could you please advice as I have tried altosoftserial as well.


Please read the "How to use this forum" post and follow the directions.