Hi Steve,

Can you please review the code below?
The code will be compiled with the demo version of PicBasic Pro.

We need this code in order to test the Odyssey II board.

I hope Ithaca is not too far away!

Thank you!

Best regards,

Odysseus (Ulysses) Luciano



Code:
' File name: mblink.bas
' Target: 16f628A 
' Compile the file from the command line: pbpdemo.exe -p16f628a mblink.bas 
'
'
'                  +5V
'                   |
'                  _|_
'                 _\_/_  LED 1
'                   |
' RA4-----/\/\/\----+
'         300 ohm
'
'
Define OSC 10       ' 10 MHz crystal used.
CMCON = 7           ' Disable comparator, set PortA in digital mode.
      
OUTPUT PORTA.4      ' Set RA4 as output
 
loop: Low PORTA.4   ' Turn on LED 1, the pin RA4 sinks current.
      Pause 500     ' Delay for .5 seconds.
      High PORTA.4  ' Turn off LED 1, the pin RA4 floats, (RA4 open drain output). 
      Pause 500     ' Delay for .5 seconds.
      Goto loop     ' Go back to loop and blink LED 1 forever.
End