More than 1 SoftwareSerial

Hi,

I have 2 projects.

Sensor: One of them takes data from a CO2 sensor thru a Grove Shield v2.

Wifi: The other posts data to the web using a Tinysine Wifi shield.

The thing is that I can only mount the wifi shield on the UNO, because there is no room to mount the grove over the wifi. So I left the wifi shield over the UNO and connected the grove shield via the jumper wires to the UNO but THRU the WiFi shield, like this:

The connections are like so:

UNO 7 - THRU THE WIFI SHIELD 7 - GROVE 7
UNO 8 - THRU THE WIFI SHIELD 8 - GROVE 8
CO2 SENSOR to D7 on GROVE SHIELD (which uses pins 7,8)

The connections on the other side of the WiFi shield are power to a breadboard because Im also using an RTC module to fire alarms for measurements.

I've run the original sketch which I used a while back which takes CO2 measurements and it works fine.

The problem is when I add the rest of my code with the same setup because it seems to get stuck not getting any response from the sensor. That code uses 2 software serials because 1 for the wifi serial (2,3) and the other for the grove shield (7,8).

I think I read somewhere it is not possible to use 2 SS connections at the same time, is this true? I understand the problem is only simultaneously, so could I get the readings and insert a delay and then post?

What other options do I have?

Thanks

Got it! I had a line in my sketch that tried to use pin 8:

  //pinMode(8,INPUT);

It was a vestige from a sketch where i used a dust sensor on D8.

I guess it was conflicting with pin 8 from the SS of the shield!