Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help, Turning on / off LEDS
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Michael Hasson




PostPosted: Wed Jun 03, 2009 8:05 am   Post subject: 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
Sponsor
Sponsor
Sponsor
sponsor
apomb




PostPosted: Wed Jun 03, 2009 10:05 am   Post subject: 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 ()
and
code:
parallelget()
Dusk Eagle




PostPosted: Wed Jun 03, 2009 3:32 pm   Post subject: Re: RE:Help, Turning on / off LEDS

apomb @ Wed Jun 03, 2009 11:05 am wrote:
(who actually "just plays around with" turing for fun)?

Crying or Very sad Crying or Very sad ... I do ... Crying or Very sad Crying or Very sad

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




PostPosted: Wed Jun 03, 2009 3:33 pm   Post subject: Re: RE:Help, Turning on / off LEDS

apomb @ Wed Jun 03, 2009 11:05 am wrote:
(who actually "just plays around with" turing for fun)?

Crying or Very sad Crying or Very sad ... I do ... Crying or Very sad Crying or Very sad

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




PostPosted: Wed Jun 03, 2009 4:34 pm   Post subject: 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




PostPosted: Fri Jun 05, 2009 8:17 am   Post subject: Re: Help, Turning on / off LEDS

Thanks for the help.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: