Skip to content

Commit

Permalink
bump 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Jul 6, 2024
1 parent a577c71 commit 3023112
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functionGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,10 @@ float funcgen::heartBeat(float t)
0,0,0,0,
0,0,0,0,
};
// use duty cycle to determine zero level duration.
int pts = map(_dutyCycle * 100, 0, 100, 31, 15);

return freeWaveN(t, out, pts);
return freeWave(t, out, pts);
}


Expand Down

0 comments on commit 3023112

Please sign in to comment.