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 / 17816
17815  |  17817
Subject: 
legomin
Newsgroups: 
lugnet.robotics
Date: 
Sun, 5 May 2002 17:54:57 GMT
Original-From: 
Roel Scheijde <Roel.Scheijde@tiscali.=avoidspam=nl>
Viewed: 
491 times
  
I'm a big fan of the theremin and this is the lego version.
its basicly the lightsensor above the IR port (as in a proximitie
sensor) and the folowing code in nqc


int level;


task send_signal()
{
  while(true)
    {SendMessage(0); Wait(10);}
}

task check_signal()
{
  while(true)
  {
    level = SENSOR_2 -400;

  }
}

task main()
{
  SetSensorType(SENSOR_2, SENSOR_TYPE_LIGHT);
  SetSensorMode(SENSOR_2, SENSOR_MODE_RAW);
  start send_signal;
  start check_signal;
  while(true)
  {
    PlayTone (level, 100);
   }
}





***
email: Roel.Scheijde@tiscali.nl



Message has 2 Replies:
  Re: legomin
 
I figure other people are going to wonder the same thing I did, and that is "WTF is a theremin?" So I'll give you the benefit of my search: (URL) it's a musical instrument you play by waving your hand near, without touching. (...) (22 years ago, 6-May-02, to lugnet.robotics)
  lnpd and mandrake 8.2
 
Hi, I have install the last legOS and have install lnpd to. But i have a problem when i run an applcation lnptest for example : it don't work.... Here is the problem "lnp_init: Network is unreachable". I run lnpd with the command "lnpd --nolock (...) (22 years ago, 20-May-02, to lugnet.robotics, lugnet.robotics.rcx.legos)

3 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