I’m new to ST, but have a good bit of experience with Arduino. I’m currently using the on/off shield example to switch a 12v light strip on/off via a MOSFET. So far so good, this works as expected.
What I’d like to do is add the switch level capability so I can dim the led light strip. The arduino side is easy using a pwm output pin to drive the MOSFET. I have a test sketch that does this, but what I’m missing is an example of how to drive this from the ST device type, passing the brightness % to the arduino sketch.
Thanks for any suggestions.