![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2008
Posts: 4
Rep Power: 0
![]() |
light program
hi im a new to programming and i need some help.
i want to program lights to turn off and on at certain times what lang. would i need to learn for this the lights will be installed in a table |
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 548
Rep Power: 4
![]() |
Re: light program
Depends on how you are interfacing with the lights I suppose. I saw someone in my program using Phidgets (http://www.phidgets.com/) with C/C++ to do something similar.
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
|
|
#3 |
|
Newbie
Join Date: May 2008
Posts: 4
Rep Power: 0
![]() |
Re: light program
ok thanks ill look into it
|
|
|
|
|
|
#4 |
|
Newbie
Join Date: Nov 2007
Location: Ireland
Posts: 16
Rep Power: 0
![]() |
Re: light program
You'll have to be more specific. What kind of lights? How many? Also what you mean by certain times, as in times of the day or turn off and on in a sequence.
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: May 2008
Posts: 4
Rep Power: 0
![]() |
Re: light program
on a table and i want it to say a message led
|
|
|
|
|
|
#6 |
|
Newbie
Join Date: Nov 2007
Location: Ireland
Posts: 16
Rep Power: 0
![]() |
Re: light program
You'll still need to be more helpful in your posts than this if you want help. Forgive me if English is not your first language.
It's not clear why you need a program. It's easy to turn leds on and off using some IC's instead of a program but it depends on how clever you want the leds to be and how many. Otherwise I'll guess and say your best bet would be to use a microcontroller unless you don't have access to a way of programming one. If you want to use a PC, then you should be able send bytes out from the parallel port depending on things like your OS. |
|
|
|
|
|
#7 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 288
Rep Power: 4
![]() |
Re: light program
__________________
http://www.klarre.se |
|
|
|
|
|
#8 |
|
Newbie
Join Date: May 2008
Posts: 4
Rep Power: 0
![]() |
Re: light program
English is my main lang. i just suck at it. but i want to make the table to keep score of a game and im not sure how many lights ill need
|
|
|
|
|
|
#9 |
|
Newbie
Join Date: Nov 2007
Location: Ireland
Posts: 16
Rep Power: 0
![]() |
Re: light program
The easiest way is to use a microcontroller. You could build something like this using a PIC.
http://picprojects.org.uk/projects/c...r.htm#Overview If you're only interested in having a scoreboard rather than making one, it would be cheaper to buy one. If you're interested in using a PIC, you can program one in BASIC. http://www.mikroe.com/en/books/picbasicbook/00.htm |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hello, I'd like to write a program for my work. | blake_jl | Community Introductions | 13 | Nov 23rd, 2007 4:31 PM |
| Language display in program | Prm753 | C++ | 3 | May 30th, 2006 5:45 PM |
| Help me make a program. read ---> | DBZ | Visual Basic | 8 | Mar 10th, 2006 8:53 AM |
| Creating a program to test a program | sixstringartist | C | 8 | Jan 21st, 2006 1:15 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 4:12 PM |