Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
v1.2.2 to fix DutyCycle bug, etc.
Browse files Browse the repository at this point in the history
### Releases v1.2.2

1. Fix `DutyCycle` bug. Check [float precisison of DutyCycle only sometimes working #3](khoih-prog/SAMD_Slow_PWM#3)
2. Fix `New Period` display bug. Check [random dropouts #4](khoih-prog/SAMD_Slow_PWM#4)
3. Update examples
  • Loading branch information
khoih-prog authored Mar 5, 2022
1 parent 147a567 commit 2201f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAMDUE_Slow_PWM_ISR_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ bool SAMDUE_SLOW_PWM_ISR::modifyPWMChannel_Period(const uint8_t& channelNum, con
SAM_DUE_PWM[channelNum].newOnTime = ( period * dutycycle ) / 100;

PWM_LOGINFO0("Channel : "); PWM_LOGINFO0(channelNum);
PWM_LOGINFO0("\tNew Period : "); PWM_LOGINFO0(SAM_DUE_PWM[channelNum].newPeriod);
PWM_LOGINFO0("\t Period : "); PWM_LOGINFO0(period);
PWM_LOGINFO0("\t\tOnTime : "); PWM_LOGINFO0(SAM_DUE_PWM[channelNum].newOnTime);
PWM_LOGINFO0("\tStart_Time : "); PWM_LOGINFOLN0(SAM_DUE_PWM[channelNum].prevTime);

Expand Down

0 comments on commit 2201f34

Please sign in to comment.