maybe a good idea to include a Call Sleep (0.0) into for routine.
--- In basicx@basi..., Jepsen Electronics & Acoustics Ltd
<njepsen@i...> wrote: >
> Turn the power off, hit program then when you see "retry" on the
PC > screen, power up the bx24.
> outhman82 wrote:
> ... now I can't get the board to halt. []
Reply by Jepsen Electronics & Acoustics Ltd●December 10, 20052005-12-10
Turn the power off, hit program then when you see "retry" on the
PC
screen, power up the bx24.
outhman82 wrote:
I wrote the following code for my BX-24 processor, executed it and it
worked fine and now I can't get the board to halt.
Option Explicit
Public Sub Main()
Const PinNumber As Byte = 13
Dim iV As Integer
do WHILE(1=0)
iV =GetADC(PinNumber)
debug.print cstr(iV)
if (iV<5)then
Call PutPin(16, bxOutputHigh)
else
Call PutPin(16, bxOutputLow)
end if
call delay(0.01)
loop
End Sub
When I execute a different program, it says to press the reset button
on the processor, I press the reset button Error code 203: Unable to
halt BasicX, Reset? I think it's because it's continuously looping
and
won't stop. I tried turning off the power of the board and
disconnecting the connection to the computer (I'm using an serial-USB
cord) and it hasn't done anything.
Can somebody help me? I am in need of desperate help.