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 / 27428
27427  |  27429
Subject: 
Re: NXC: turning on the light
Newsgroups: 
lugnet.robotics
Date: 
Tue, 15 Apr 2008 13:07:13 GMT
Viewed: 
6141 times
  
In lugnet.robotics, iTOtto <torsten.otto@mac.com> wrote:
Howdy,

maybe I'm overlooking something very simple, but I can't find a way to use
the lamp that comes with the NXT when programming it in NXC.

Is this plainly not supported?

Regards,
iTOtto

Hi,

  Have you tried to connect the adapter cable in the output port and put the
lamp on it?

  Use this program to test:

task main()
{
  OnFwd(OUT_A, 100);
  Wait(5000);
  Off(OUT_A);
}

  This program assumes that you connected the cable in output A.

Regards,

Ildefonso.



Message is in Reply To:
  NXC: turning on the light
 
Howdy, maybe I'm overlooking something very simple, but I can't find a way to use the lamp that comes with the NXT when programming it in NXC. Is this plainly not supported? Regards, iTOtto (16 years ago, 14-Apr-08, to lugnet.robotics)

9 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