Design a program to control the brightness of an LED analogically using the PWM output function. The LED will increase and decrease its brightness through cycles of increment and decrement at specific intervals.
Increase the LED brightness in steps of 2 units every 10 ms.
Decrease the LED brightness in steps of 4 units every 5 ms.