tiger_bel,
A few things but probably (or should I say definitely) not all....
Your attached program does not compile without errors for the 16F84 - how did you test it?
Variables temp and temp1 used in loops not declared – add
temp var byte
temp1 var byte
your program uses Call to get to your Basic subroutines. Call looks for ASM code. For example, Call del100ms looks for an ASM routine marked _del100ms. You probably want to change them to Gosub
Your Pauseus 1 really is not 1 us but 24 uS. See manual. Change to @ nop
Maybe other can see more, especially in regards to the serial part – off to work for me (and I will look later tonight at your logic).
Paul Borgmeier
Salt Lake City, Utah
USA




Bookmarks