Add Duty Cycle source code.
Merge branch 'beta'