Search found 4 matches

by K9ACT
Sun Oct 19, 2014 10:59 am
Forum: PIC Tutorials
Topic: Tutorial 1
Replies: 10
Views: 14822

Re: Tutorial 1

Great to hear that you have been making progress :) I certainly agree with you about the schematic diagrams - it would make it much easier for everyone trying to follow through. However I have included these for the later tutorials because they are quite a bit more involved. Be sure to let us know ...
by K9ACT
Thu Oct 16, 2014 11:33 pm
Forum: PIC Tutorials
Topic: Tutorial 1
Replies: 10
Views: 14822

Re: Tutorial 2, was Tutorial 1

Just noticed the error in the subject line. I have been discussing #2 and not #1. ............ Since posting this, I have learned how to use the Stop Watch on MPLAB. Using this, I find that it is only the single step and animate functions that have this issue. Pressing the Run button, the delay is e...
by K9ACT
Thu Oct 16, 2014 2:42 am
Forum: PIC Tutorials
Topic: Tutorial 1
Replies: 10
Views: 14822

Re: Tutorial 1

Are you saying the next instrucion is not skipped when the variable being decremented reaches zero? Yes. It just decs it again. Actually, it goes to the second delay and when that is zero, it goes back to the first and that is where the problem is. The first delay is now and zero and it decs again....
by K9ACT
Thu Oct 16, 2014 2:32 am
Forum: PIC Tutorials
Topic: Tutorial 1
Replies: 10
Views: 14822

Tutorial 1

The project works in hardware but I wanted run it with the sim and it seems to get hung up on the decfsz.

I changed the 255 to 2 so I could step it through but it decs when at 0 and it rolls over to 255 and never seems to quit.

What might I be doing wrong?

Thanks,

Jack