Welcome! Log In Create A New Profile

Advanced

tone() does not work with Sanguino

Posted by Astrofreak85 
tone() does not work with Sanguino
October 28, 2010 08:21PM
Hi,

when I try to use the tone() function with Sanguino I get this error:


toneMelody.cpp: In function 'void setup()':
toneMelody:34: error: 'tone' was not declared in this scope

When I use my Arduino Uno board I don't get this problem, so I thing
there must be something wrong in the Saguino files, but my knoledge in C
isn't that good to find out whats wrong there...

Im using Arduino 21...

--Astro
Re: tone() does not work with Sanguino
November 01, 2010 01:01PM
Nobody any idea??

:-(
VDX
Re: tone() does not work with Sanguino
November 02, 2010 07:57AM
... i think this are differences in the libraries between Uno and Sanguino - you have to update the respective code in the Sanguino lib too, or program the function manually in the PDE-sheet ...

Read through the Sanguino-samples, how it's handled there ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Sorry, only registered users may post in this forum.

Click here to login