View unanswered posts | View active topics It is currently Fri Oct 30, 2020 7:23 am






Reply to topic  [ 2 posts ] 
Shouldn't this program produce sound on the EV3??? 
Author Message
Rookie

Joined: Wed Jun 25, 2014 7:25 pm
Posts: 7
Post Shouldn't this program produce sound on the EV3???
// This is written in RobotC 4.1 for a EV3
task main()
{
while(true) // Do FOREVER!
{
clearSounds(); // Clear EV3 sound buffer

// Shouldn't at least ONE of these sounds work???
playSound(soundBeepBeep); // Play a BeepBeep sound
//playTone(500, 100); // 1000 Hz tone for 1 second

sleep(2000); // Sleep for 2 seconds
}
}

It compiles without error but it just blinks the green lights...


Sun Aug 31, 2014 10:16 pm
Profile
Rookie

Joined: Fri Sep 20, 2013 8:39 am
Posts: 38
Post Re: Shouldn't this program produce sound on the EV3???
I think sound was only added in 4.25!


Sun Aug 31, 2014 10:27 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.