Same code working differently on Nano 33 IoT and Mega

Hi digitalnature,

I have a smiliar problem with another Adafruit Sensor (VEML6075).
I can't proof it but it seems like the SPI pin assignment is somehow broken for the Nano.
Which protocol you use? Have you checked if the communication is woking correctly?

Regards Alex