| | Re: NXC: turning on the light
|
|
(...) Since the lamp is a rather power hungry device, it is best to drive it with an output port. Use OnFwd(port, pwr) to turn it on (with brightness controlled by pwr parameter), Off(port) to turn it off. Though I have not tested, it should also (...) (17 years ago, 15-Apr-08, to lugnet.robotics)
|
|
| | Re: NXC: turning on the light
|
|
(...) The lamp is relatively power hungry, so you should connect it to a motor port for best result. OnFwd ("ports", "pwr"); will light it, with brightness controlled by the pwr parameter. Off ("ports"); will turn it off. I have not tested, but most (...) (17 years ago, 15-Apr-08, to lugnet.robotics)
|
|
| | 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)
|
|
| | Re: NXC: turning on the light
|
|
(...) My guess is you can turn it on using one of the powered sensor types such as SENSOR_TYPE_LIGHT_ACTIVE or SENSOR_TYPE_LOWSPEED_9V. I don't have a lamp to test this with or any of the cables that are required to connect a lamp to a sensor port. (...) (17 years ago, 14-Apr-08, to lugnet.robotics)
|
|
| | 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)
|
|
| | NXT Inventor's Guide Book Signing in Austin, TX
|
|
On Saturday, April 19th, I'm having a book signing at a Barnes & Noble in Austin, Texas for my book The Unofficial LEGO MINDSTORMS NXT Inventor's Guide (No Starch Press, 2007). The signing will begin at 2PM, and I'll be bringing two robots with me (...) (17 years ago, 11-Apr-08, to lugnet.robotics, lugnet.robotics.nxt, lugnet.events, lugnet.loc.us.tx, FTX)
|
|
| | Release of LEJOS OSEK 2.0, It supports ANSI C/C++ application flash!
|
|
Hi, What's new in 2.0 is: - LEJOS OSEK application can be uploaded to Flash by NXT BIOS. - NXT BIOS is a Flash boot loader and it does NOT touch the lock/security bits of AT91SAM7S. - 224Kbytes Flash and appx.50Kbytes SRAM are available for LEJOS (...) (17 years ago, 7-Apr-08, to lugnet.robotics)
|
|
| | Re: Brickworld Mindstorms Event Rules for Trash Wars
|
|
(...) In the interest of keeping people from building gigantic unfolding contraptions that cover the entire playing field, we're going to go with NO, no expansion beyond 18x18 at ANY TIME. I will modify the rules to reflect this when I get a chance. (...) (17 years ago, 3-Apr-08, to lugnet.events.brickworld, lugnet.robotics)
|
|
| | Re: Brickworld Mindstorms Event Rules for Trash Wars
|
|
In lugnet.events.brickworld, John Brost wrote: <snip> (...) Hey John, This sounds exciting! RIght now I only have 1 question--when it states that the 'bot must fit in the 18 by 18, is that just when you say 'go' or trhough the entire competition? (...) (17 years ago, 2-Apr-08, to lugnet.events.brickworld, lugnet.robotics)
|
|
| | Brickworld Mindstorms Event Rules for Trash Wars
|
|
Ok folks, here we go, the official rules for Trash Wars, one of the Mindstorms events that will be held at Brickworld (June 19-22, Wheeling, IL). I think Bryan's original post called it "Garbage Wars", but I like Trash Wars better, and since I wrote (...) (17 years ago, 2-Apr-08, to lugnet.events.brickworld, lugnet.robotics) !
|