How to play a tone with older Arduino

(work in progress)

According to Tom Igoe’s tone tutorial, “This [the tone function] will work only for Arduino 0018 and beyond.”. But I think that refers to the software, not the hardware.

It has been observed that the toneMelody example works with Arduino Duemilanove, but not the Arduino NG with ATmega8.

Why?

Let’s take a look at the tone function. It is located in

arduino-0018/hardware/arduino/cores/arduino/Tone.cpp

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: