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
|
|
|
|