<b>With this occam program for arduino</b><br><br>#INCLUDE "plumbing.module"<br>#INCLUDE "twi2.module"<br>PROC porta()<br>&nbsp; PORT OF BYTE portd :<br>&nbsp; PLACE portd AT #002B :&nbsp; -- addrress of PORTD&nbsp; ATMEGA<br>&nbsp; PORT OF BYTE dird :<br>&nbsp; PLACE dird AT #002A :&nbsp;&nbsp; -- address of DDRD<br>&nbsp; SEQ<br>&nbsp;&nbsp;&nbsp; dird&nbsp; ! 255&nbsp;&nbsp; -- all&nbsp; bit in output<br>&nbsp;&nbsp;&nbsp; WHILE TRUE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SEQ<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; portd ! 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delay(1000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; portd ! 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delay(1000)<br>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br><br>Compiling: G:\Transterpreter\arduino\plumbing-book\port.occ<br>Warning-occ21-G:\Transterpreter\arduino\plumbing-book\port.occ(19)- PORT dird must be PLACED<br>Warning-occ21-G:\Transterpreter\arduino\plumbing-book\port.occ(17)- PORT portd must be PLACED<br>Warning-occ21-twi2.module(266)- parameter `bs' might be undefined here<br>compile completed sucessfully<br><br><b>I do not understand the Warning. The program does not work with Arduino.<br>&nbsp;Maybe the port are not supported? Thank you very much for an answer.</b><br><br><br><br><br>