Hi
I have used the library in Arduino, it works great.
Now I´m triying to use it in mbot graphical mode for Arduino.
This is the code generated by the app
#include <Arduino.h>
#include <Wire.h>
#include <SoftwareSerial.h>
#include <NewTone.h>
double angle_rad = PI/180.0;
double angle_deg = 180.0/PI;
void setup(){
pinMode(13, OUTPUT);
for(int __i__=0;__i__<3;++__i__)
{
NewTone(13, 262, 500);
delay(500*4/3);
_delay(1);
}
}
void loop(){
_loop();
}
void _delay(float seconds){
long endTime = millis() + seconds * 1000;
while(millis() < endTime)_loop();
}
void _loop(){
}
I dosent work I have this mesage
build3862878683788511907.tmp/NewTone.cpp:14: first defined here
Arduino\hardware\arduino\avr\libraries\NewTone/NewTone.cpp:14: multiple definition of `__vector_11'
Do you have any idea whats gooing on?
Thanks a lot