To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 26696
26695  |  26697
Subject: 
Re: Drive types
Newsgroups: 
lugnet.robotics
Date: 
Tue, 9 Jan 2007 13:25:09 GMT
Viewed: 
3163 times
  
In lugnet.robotics, John Hansen wrote:
    PlayTone(262,40);  Wait(500);
    PlayTone(294,40);  Wait(500);
    PlayTone(330,40);  Wait(500);
    PlayTone(294,40);  Wait(500);

Whoops.  The duration values in each of the PlayTone calls should be 400 rather
than 40.

John Hansen



Message is in Reply To:
  Re: Drive types
 
(...) Here is a simple multi-threaded NQC program: task music() { while (true) { PlayTone(262,40); Wait(50); PlayTone(294,40); Wait(50); PlayTone(330,40); Wait(50); PlayTone(294,40); Wait(50); } } task main() { start music; while(true) { (...) (18 years ago, 9-Jan-07, to lugnet.robotics)

14 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR