You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tone command does not work correctly on ATmega8 [imported] #292
This is Issue 292 moved from a Google Code project.
Added by 2010-07-15T07:34:09.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium
Original description
What steps will reproduce the problem?
load and run a tone example script, f.e. toneMelody.pde
What is the expected output? What do you see instead?
You can hear the melody correctly on a Arduino Duemilanove with ATmega328.
On a board with ATmega8 you can only hear one tone (NOTE_B3 I think??).
What version of the Arduino software are you using? On what operating system? Which Arduino board are you using?
Arduino018 on Windows 7. myAVR USB MKII board with ATmega8 3.6864MHz Quarz.
Please provide any additional information below.
Only the following frequencies give a correct signal: 61Hz, 244Hz, 976Hz, 3.9KHz. Any other frequency gives no signal (PWM output signal measured with oscilloscope)
Activity
Update Tone.cpp
jan-r commentedon Apr 12, 2015
A fix for this issue has been proposed, see pull request #2961.
Fix for issue arduino#292
facchinm commentedon Apr 14, 2015
PR #2961 merged
Merge remote-tracking branch 'upstream/master'
Merge pull request arduino#292 from tekka007/softsigningfix