Blinking LED
The following is the connection being used.
You can use the repeating staircase to get pulse the signals in simulink
Dimming LED
- You would need to introduce a constant input and a slider gain before connecting to the PWM block
- If you would want to do it in real-time you would have to click the “Monitor & Tune” button.