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 OxAdding a noTone() before changing frequencies seems to help.
Comment #2
Posted on Nov 12, 2010 by Happy Rhinohttps://github.com/arduino/Arduino/commit/c11098c237d89e7c96862555729ebc947cc976b7
Comment #3
Posted on Nov 22, 2010 by Happy RhinoIssue 410 has been merged into this issue.
Status: Fixed
Labels:
Type-Defect
Priority-Medium
Milestone-0022
Component-Core