Computer Science Canada

Parallelput and parallel port problem

Author:  ADS [ 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?


: