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

Username:   Password: 
 RegisterRegister   
 Parallelput and parallel port problem
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ADS




PostPosted: Fri Jan 18, 2013 7:12 pm   Post subject: Parallelput and parallel port problem

I am trying to test out the parallelput command on a miniature level before I write up my whole program. I want the program to light up 1 LED then after 10 seconds turn if off

The problem is that all 8 LED lights light up and none of them turn off after 10sec

I have tried a variety of codes such as "paralellput(2#00000001)" and "parallelput(1)"

Turing:


<parallelput(2#00000001)
delay(10000)
parallelput(2#00000000)>



I am using turing 4.1.1


How could this be fixed?
Sponsor
Sponsor
Sponsor
sponsor
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  [ 1 Posts ]
Jump to:   


Style:  
Search: