element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs 50 points worth of work
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: billabott
  • Date Created: 3 May 2013 9:17 AM Date Created
  • Views 478 views
  • Likes 0 likes
  • Comments 0 comments
Related
Recommended

50 points worth of work

billabott
billabott
3 May 2013

Dude!

 

There is nothing wrong with the example program or the Tone library.

The problem is the Arduino IDE.  It can be a little uncooperative when adding a new library.

 

Make sure you have the Tone folder where it is supposed to be.  Delete the #include <Tone>; line from the sketch.  Save the sketch.  Close down all Arduino IDE windows.  (Maybe even reboot your computer)  Open the sketch in the IDE.  Use the menu tab to Import the library.  Compile the sketch.

 

Can I assume that this is you first go around with a library?  Allow me to share the "Facts of Arduino Life" with you about 3rd party Contributed Libraries.

On 11/30/2011 10:08 PM, David Cuartielles wrote:

 

When it comes to the software, it is not Arduino's responsibility to

fix the libraries developed by third parties. It is like in any other

systems, the responsibility of those third parties to fix what stops

working at each update.

These contributed libraries live in a folder called: C:\...\Arduino\libraries\  whereas the officially supported libraries live in a folder called: C:\...\Arduino\arduino-0023\arduino-0023\libraries.  If the contributed libraries folder does not exist then you must create it.

 

image

Please note: A professional quality library will come with one or more example sketches.  Do not ignore them; they are valuable resources.

 

Just like the Radio Shack document said:

Install the Tone Library

For this project, you’ll need to install the “Tone” library, which can be downloaded here:   http://code.google.com/p/rogue-code/wiki/ToneLibraryDocumentation

 

When you unzip the downloaded file, it will create a “Tone” folder. This folder should be moved to the “Libraries” folder, which is in your Arduino sketchbook folder. If you’re not sure of your sketchbook folder location, it can be found in your Arduino preferences. If the “libraries” folder doesn’t exist, create it, then copy the “Tone” folder to that location. Restart your Arduino application. You should now see “Tone” when you select from the menu bar:    

 

Sketch > Import Library... (look under “Contributed”)


  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube