EmbeddedRelated.com
The 2024 Embedded Online Conference

Continuous Loop

Started by outhman82 in BasicX18 years ago 2 replies

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...

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) el



The 2024 Embedded Online Conference