Subversion Repositories HomeAutomation

Rev

Rev 2064 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 2064 Rev 2095
Line 12... Line 12...
12
act_hwPWM_SEND_STATUS_INTERVAL_S=5
12
act_hwPWM_SEND_STATUS_INTERVAL_S=5
13
 
13
 
14
act_hwPWM_FADE_TIMER=<TIMER>
14
act_hwPWM_FADE_TIMER=<TIMER>
15
 
15
 
16
act_hwPWM_ENABLE_FADE=1
16
act_hwPWM_ENABLE_FADE=1
-
 
17
 
-
 
18
# Examples:
-
 
19
# for channel 1 or 2:
-
 
20
# COM=2, WGM= 5, CS=4
-
 
21
# will give 120Hz PWM, adjust CS to change frequency
-
 
22
 
-
 
23
# for channel 3 or 4:
-
 
24
# COM=2, WGM= 1, CS=3
-
 
25
# will give 240Hz PWM, adjust CS to change frequency
17
 
26
 
18
#### PWM Channel 1, EXP_B, Timer1, OC1B ####
27
#### PWM Channel 1, EXP_B, Timer1, OC1B ####
19
 
28
 
20
# Select Compare Output Mode, act_hwPWM_CHx_COM
29
# Select Compare Output Mode, act_hwPWM_CHx_COM
21
# Set to 0 to disable this channel
30
# Set to 0 to disable this channel