Search found 6 matches

by jerry
Sun May 19, 2013 2:43 pm
Forum: EzSBC1
Topic: While/Wend Prob
Replies: 8
Views: 9744

Re: While/Wend Prob

basic_mark, Thanks for your second reply and alternate program. Sorry it took me a "while" to get back to you. In a good/bad sort of way, I am glad that I was not crazy and WHILE didn't work for you either. Bad, Daniel has more work. I did end up using repeat/until as a replacement on the ...
by jerry
Sat May 04, 2013 4:21 pm
Forum: EzSBC1
Topic: While/Wend Prob
Replies: 8
Views: 9744

Re: While/Wend Prob

First, basic_mark thanks for answering. I see that I did not make the problem clear. The test program as shown, never prints the 20! The single step print out was to show that when the WEND is executed (line 5) the program jumps back to WHILE (line 3). The program never goes past the WEND! I am havi...
by jerry
Thu May 02, 2013 7:53 pm
Forum: EzSBC1
Topic: While/Wend Prob
Replies: 8
Views: 9744

While/Wend Prob

I seem to be having a problem using While/Wend,here is an example. Also see the single step printout that follows the program. Thanks your help, jerry Program Counter = 0 ' Initialize variable. WHILE Counter < 20 ' Test value of Counter. Counter = Counter + 1 ' Increment Counter. WEND ' End While lo...
by jerry
Fri Apr 19, 2013 7:53 am
Forum: EzSBC1
Topic: Problem using INADC
Replies: 4
Views: 5997

Re: Problem using INADC

Daniel,

Thanks for the quick reply.
I checked the clock battery between pins 39 & 40 and got only 0.1 volts.
I will add the power jumper usage to my manual.
Thanks for sending a new module, I will let you know how it works.

Things are looking up!

jerry
by jerry
Thu Apr 18, 2013 6:51 pm
Forum: EzSBC1
Topic: Problem using INADC
Replies: 4
Views: 5997

Re: Problem using INADC

Daniel, thanks for the help. Your CR-Lf solution works fine. I am still having a problem with the inadc. I cleareand tried both memory banks and in single step it does not get past "x=inadc(28)" it just hangs. I also used 29's instead of 28's with the same results. Also when the board arri...
by jerry
Thu Apr 18, 2013 1:16 pm
Forum: EzSBC1
Topic: Problem using INADC
Replies: 4
Views: 5997

Problem using INADC

I am new to the EZSBC1 but have used basic on and off. I want to read the Temp sensor on the Project board and when I enter: pinmode 28, adc x=inadc(28) print x end When run, I get "Start program" , no error message, it just hangs. I have to use the EZSBC1 reset button to exit. I have trie...