Thanks for all your replies...
Let me write it all again.
I want to have the option, to control the board via USB in the futere, now I will satisfy with the "manual" control. But still, I want to have the option for next extension. I want for now the rotary encoder if it acts like ( turn CW = VALUE +1, turn CCW = VALU -1).
It should behave this way:
1. TURN the Board on by pressing the button. ( DutyCycle = 0% in f.a. 4sec.)
2. After being turned on FADE IN ( DutyCycle: 0% -> 100%)
3. Second press of the button will cause turning off with dalay (wait for f.a. 15sec.)
4. After the dalay it should FADE OUT ( DutyCycle: 100% -> 0% in f.a. 4sec.)
Dont know which way is best to do this, if it is via analog PWM (555) or uProcessor. Have no experience with the uProc. but want to learn something.
Have no problems with programming, seems to be similiar lang. to others I know...
Have on mind I want to make the board unversal, to have the option to extend and control it via USB.
f.a.:
1 USB -> 8 boards (with 4 separate channels)
The USB board should be on separate board with possibility to connect the PWM boards.
Thanks and hope that I am clear now