I bought AS7263 NIR Spectral Sensor, it works fine when I’m powering it from my Wemos D1 Mini Microcontroller through my computer’s USB port. However, I made my project portable by using a battery to supply my microcontroller. I found out that the sensor will not work unless I connect the power supply to the computer.
Power is not the problem I think since I have a supply that provides enough power.
I even connected the Wemos D1 Mini directly in a 5V, 2A power supply.
Is the sensor will only work when the microcontroller it is connected to a computer? I used the library in your github.