Skip to content

tone command does not work correctly on ATmega8 [imported] #292

Closed

Description

@cmaglie

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?

  1. 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

  1. added a commit that references this issue on Apr 10, 2015
  2. jan-r commented on Apr 12, 2015

    @jan-r
    Contributor

    A fix for this issue has been proposed, see pull request #2961.

  3. added a commit that references this issue on Apr 13, 2015
  4. facchinm commented on Apr 14, 2015

    @facchinm
    Member

    PR #2961 merged

  5. added a commit that references this issue on Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions