The design uses an external clock and 4 bits to select the duty cycle. It outputs a PWM signal with 1/10 the frequency of the clock supplied and a duty cycle depending on the 4 selected bits.
Use clock on input 0, reset on input 1, Turn bits of duty cycle select (input 2:5) to choose duty cycle (0000 -> 0%, 0001 -> 10%, 0010 -> 20%,.., 1010 ->100% ) and choose freq0 and freq1 as clock dividers (1x, 1/2x, 1/4x, 1/8x)
You can control the intensity of an external LED using the PWM Output
| # | Input | Output |
|---|---|---|
| 0 | clock | PWM_Out |
| 1 | reset | |
| 2 | duty0 | |
| 3 | duty1 | |
| 4 | duty2 | |
| 5 | duty3 | |
| 6 | freq0 | |
| 7 | freq1 |