PWM Output with AS726x Spectral Sensor

Hello, I am not super experienced using Arduino and I am hooking up an AS726x sensor using I2C communication. Is it possible to get a pwm output on an Arduino Uno while using the sensor and the sensor’s library?

Hi BearEagle,

I am not sure if I fully understand your question here. Are you just trying to, say, use PWM to control an RGB LED or other PWM-controlled device depending on the output of the AS726x or are you trying to do something completely different? If it’s something different, please try and explain it in as much detail as possible. If you’re trying to do the first suggestion, you absolutely can with the right code. It would just be a matter of correlating/mapping the PWM output to whatever the AS726x is reporting.