sgreelish
- 8th March 2004, 17:25
Using a 17C756 with select case statements to set pins on a give port. Each time the routine executes with in the case structure ( if then else also) to set (1 or HIGH) all pins on the port are reset (0 or LOW). If a pin is set one one port say PORTD it does not effect other pin of ports PORTF, PORTE and so on. I have tried simple implied Let command s( Var = 1) and the HIGH Var form. Neither works.
The pin names are defined variables which are then used in the body of the code.
Anybody know whats going on.
The pin names are defined variables which are then used in the body of the code.
Anybody know whats going on.