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

Username:   Password: 
 RegisterRegister   
 Help with making parallel put work
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
turinghelp101




PostPosted: Sat Jan 21, 2012 3:03 pm   Post subject: Help with making parallel put work

What is it you are trying to achieve?
<Replace all the <> with your answers/code and remove the <>>
I have an isp due in 2 days and I have to make 2 seven segment displays. I have to enter a temperature in fahrenheit and it has to be converted into celcius. I have to program number -20 to 20 in celcius for them to be displayed on the 7 segment display
What is the problem you are having?
<Answer Here>
After thoroughly looking into making a seven segment display I still have no idea what to do. I started to try somthing out and it is not working. It sais unable to find I/O device. I need to know what this means and what I have to include to make it work
Describe what you have tried to solve this problem
<Answer Here>
researched everything I could find


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<Answer Here>




Turing:


<Add your code here>
for i : 0 .. 7
            parallelput (2 ** i)    %Set data bit i on the  parallel port
            put "Data bit ", i, "  or Pin ", i + 2, "has just been set"
        end for
        parallelput (97)




Please specify what version of Turing you are using
<Answer Here>
4.1.1
Sponsor
Sponsor
Sponsor
sponsor
Dreadnought




PostPosted: Sun Jan 22, 2012 10:16 pm   Post subject: Re: Help with making parallel put work

turinghelp101 wrote:
It sais unable to find I/O device.


Do you have a parallel port on your machine? I don't know if you need drivers for a parallel port, but if so, are they installed?
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  [ 2 Posts ]
Jump to:   


Style:  
Search: