support SGP30 Grove module with ATmega168?

Dear all,



We are working on a project to use SGP30 with ATmega168.

When we ran the sample code, it was stuck on "sgp_probe()’.

It seems that it does not find any ports available.



below is the codes:



while (sgp_probe() != STATUS_OK) {

Serial.println(“SGP failed”);

while(1);



Does anyone have ideas?

Thank you very much

Hi,



Can you check the grove connector cable, it might be broken.