Go to Post Okay, who's willing to admit they treat their robot as a pet? - Bill Moore [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-02-2002, 13:47
punarhero's Avatar
punarhero punarhero is offline
Registered User
#0696 (Clark Magnet Robotics)
Team Role: Programmer
 
Join Date: Jan 2002
Location: la crescenta
Posts: 67
punarhero is an unknown quantity at this point
Send a message via AIM to punarhero Send a message via Yahoo to punarhero
Light programming

Hi,
We just got the light and I hooked it on to a relay. It workd fine. I hooked it on to relay 3, which is assigned to p3_sw_trig and p3_sw_top, but we have a little problem.

The light is on untill I keep pressing the button, but I wanna do something else. I want to hit the top button once on joystick3 and have the light turn on. I mean I should have to hold down the button to keep the light running. And when I wanna turn the light off, I should be able to do it by hitting the trigger button once on joystick3.

Can anyone tell me the exact code I can insert to do this. I need it urgently.

Thanx
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please...no more steenkin' light! Andrew General Forum 37 17-04-2003 23:06
light visibility Erinn888 General Forum 30 17-02-2003 15:56
About the light that need to be seen from four side archiver 2000 3 23-06-2002 23:01
Important info about light Jay Lundy Technical Discussion 10 12-04-2002 11:37
How many posters does it take to change a lightbulb? Brandon Martus Chit-Chat 7 22-02-2002 19:48


All times are GMT -5. The time now is 10:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi