Export to GitHub

arduino - issue #361

tone command no longer plays frequencies accurately


Posted on Sep 29, 2010 by Happy Ox

What steps will reproduce the problem? 1.upload ToneMelody example 2.Should play "Shave and a haircut" 3.Pitch is too low

Sounds like PWm frequency changed and screwed Tone up. Pitches from "pitches.h" are no longert accurate. Tested this on an Uno and a Duemilanove in 0020 and 0019

Comment #1

Posted on Sep 29, 2010 by Happy Ox

Adding a noTone() before changing frequencies seems to help.

Comment #3

Posted on Nov 22, 2010 by Happy Rhino

Issue 410 has been merged into this issue.

Status: Fixed

Labels:
Type-Defect Priority-Medium Milestone-0022 Component-Core