Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

WriteToDigitalPort affects other Ports?

Hi All,
I am using  WriteToDigitalPort to set my DIO as follows
 
 WriteToDigitalPort (2, "0", 8, 0, 1);
 WriteToDigitalPort (2, "1", 8, 0, 27);
 
However, when the second line is executed, the first port 0 is reset
 
Is there something I am doing wrong?
 
Regards
  paul
0 Kudos
Message 1 of 2
(3,060 Views)
Sorted
0 Kudos
Message 2 of 2
(3,052 Views)