Skip to content

Commit

Permalink
Merge pull request #42 from JorgeMinjares/fix_pwm_typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jminjares4 authored Oct 27, 2023
2 parents 2558063 + 9d2bbd5 commit 5004143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lab_7/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void PWMtask(void *pvParameters){
ledc_update_duty(LEDC_LOW_SPEED_MODE,LEDC_CHANNEL_1);
while(1){
// loop through the song
for(int note = 0; note < total_notes; notes++){
for(int note = 0; note < total_notes; note++){
if(freq[note] != REST){
ledc_timer_resume(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1);
ledc_set_freq(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1,freq[note]);
Expand Down
2 changes: 1 addition & 1 deletion doc_pages/lab7.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void PWMtask(void *pvParameters){
ledc_update_duty(LEDC_LOW_SPEED_MODE,LEDC_CHANNEL_1);
while(1){
// loop through the song
for(int note = 0; note < total_notes; notes++){
for(int note = 0; note < total_notes; note++){
if(freq[note] != REST){
ledc_timer_resume(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1);
ledc_set_freq(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1,freq[note]);
Expand Down

0 comments on commit 5004143

Please sign in to comment.