Author Topic: Rfduino problems with tone library  (Read 1373 times)


  • RFduino Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Rfduino problems with tone library
« on: March 10, 2015, 01:17:57 AM »

i have connect on my Rfduino an piezo buzzer. But I need an continuous tone which change when i get another value from my pressure sensor.
The problem is when i start the tone function and after every cycle i hear a little crack. With an arduino uno work this perfectly without crack.

I tested with this code:

Code: [Select]
int buzzer = 3;

void setup(){
 pinMode(buzzer, OUTPUT);


void loop(){
 tone(buzzer, 500);


when i use the rfduino i need an "delay" function so that the code work. With the arduino uno i donĀ“t need the delay function to work.

Can anybody help me??