// TODO 16.01
uint8_t Duty = 50;
int8_t DutyDistance = 2;


// TODO 16.02
            Duty += DutyDistance;
            if (Duty >= 100 || Duty <= 0)
                DutyDistance = -DutyDistance;

            if (Duty >= 100)
                TCC2_PWM16bitDutySet( 1, TCC2_PWM16bitPeriodGet() + 1 );
            else
                TCC2_PWM16bitDutySet( 1, ((uint32_t)Duty * TCC2_PWM16bitPeriodGet()) / 100 );

