
-----------------------------------
Michael Hasson
Wed Jun 03, 2009 8:05 am

Help, Turning on / off LEDS
-----------------------------------
What is it you are trying to achieve?
Write a program that controlles Led lights that I installed in a paper car, it controlles the blinkers and headlights


What is the problem you are having?
I just started to play around with Turing if anyone has some ideas on how to start this program it would help me alot. Thanks. 


Please specify what version of Turing you are using
4.1.1

-----------------------------------
apomb
Wed Jun 03, 2009 10:05 am

RE:Help, Turning on / off LEDS
-----------------------------------
lol @ the attempt to dupe someone into doing your homework for you.

but, just in case this is legit (who actually "just plays around with" turing for fun)? 

try [code]parallelput ()[/code] and [code]parallelget()[/code]

-----------------------------------
Dusk Eagle
Wed Jun 03, 2009 3:32 pm

Re: RE:Help, Turning on / off LEDS
-----------------------------------
 (who actually "just plays around with" turing for fun)? 
 :cry:  :cry: ... I do ...  :cry:  :cry: 

Back on topic, if you have your parallel wire, and you plug it into the appropriate spots on your breadboard, you can use parallelput (number) to light up your LED. If you want to send the voltage through the first output wire, your number should be 2^0, the second wire 2^1, etc.

-----------------------------------
Dusk Eagle
Wed Jun 03, 2009 3:33 pm

Re: RE:Help, Turning on / off LEDS
-----------------------------------
 (who actually "just plays around with" turing for fun)? 
 :cry:  :cry: ... I do ...  :cry:  :cry: 

Back on topic, if you have your parallel wire, and you plug it into the appropriate spots on your breadboard, you can use parallelput (number) to light up your LED. If you want to send the voltage through the first output wire, your number should be 2^0, the second wire 2^1, etc.

-----------------------------------
Siavash
Wed Jun 03, 2009 4:34 pm

RE:Help, Turning on / off LEDS
-----------------------------------
make sure you install the DLPORTIO system folders onto your pc before you use parallelport. you can find the setup file by downloading turing and going into the support folder.

-----------------------------------
Michael Hasson
Fri Jun 05, 2009 8:17 am

Re: Help, Turning on / off LEDS
-----------------------------------
Thanks for the help.
