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 / 27429
27428  |  27430
Subject: 
Re: NXC: turning on the light
Newsgroups: 
lugnet.robotics
Date: 
Tue, 15 Apr 2008 13:12:08 GMT
Original-From: 
iTOtto <TORSTEN.OTTO@stopspamMAC.COM>
Viewed: 
6613 times
  
We successfully tried the following:

task light()
{
OnFwd(OUT_A, 100);
}

It works like a motor =) OnRev works as well.

We haven't yet tried the other idea.
--
View this message in context: http://www.nabble.com/NXC%3A-turning-on-the-light-tp16688828p16700366.html
Sent from the LEGO Robotics mailing list archive at Nabble.com.



Message is in Reply To:
  Re: NXC: turning on the light
 
Thanks a bunch for the reply! The education set has the lamp, so my students would like to use it now... I'll keep you 'posted' about the results... Regards, Torsten Otto (...) (17 years ago, 15-Apr-08, to lugnet.robotics)

9 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
12 hours ago
Custom Search

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