I/O question
GrantmcF
Posts: 30
Why does this method not work without the repeat? I assume it runs once, but to fast to see. Why does it not latch the output until something else changes it?
Pub LED_On
repeat
dira[16] :=1
outa[16] :=1
Pub LED_On
repeat
dira[16] :=1
outa[16] :=1
Comments
If this is not the main method then something else gets in the way in which case you should post the remainder of the code.
When you post code -- especially Spin code, which relies on indents as part of its syntax -- please do it as advised here:
Kuroneko was able to infer what you meant, but the code you posted, without the indents, would simply hang without doing anything.
-Phil
Phil
I know about the indents, but apparently there is an auto correct to the post when you type it in as opposed to cut and paste
-Phil