Search found 1 match

by jnewbigin
Mon Jan 23, 2012 1:06 am
Forum: LeoStick examples, software and fun sketches
Topic: Leostick Tunes
Replies: 4
Views: 4824

Re: Leostick Tunes

The code in git (revision 98c987) has a bug. It does not convert the frequency into a delay duration.
Needs
danDur = 1000000 / danFreq;
...
delayMicroseconds(danDur);
...
delayMicroseconds(danDur);

Then it works.