Subject:
|
Re: NXC: turning on the light
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 15 Apr 2008 13:07:13 GMT
|
Viewed:
|
7618 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 (17 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
|
|
|
|