Searching \ for 'found 2 more problems in my code timer2.asm' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/timers.htm?key=time
Search entire site for: 'found 2 more problems in my code timer2.asm'.

Truncated match.
PICList Thread
'found 2 more problems in my code timer2.asm'
1998\07\29@025918 by andre

flavicon
face
part 0 2209 bytes
<P><TT>earlier today I posted my code timer2.asm</TT>
<BR><TT>about 15 minutes timer. After I got rest little bit</TT>
<BR><TT>I checked my code and noticed 2 problems right a</TT>
<BR><TT>way.</TT><TT></TT>

<P><TT>1. sw15 did not work because of goto was not where</TT><TT></TT>

<P><TT>before</TT><TT></TT>

<P><TT>&nbsp;&nbsp;&nbsp; sw15&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;
; same as btfsc&nbsp;&nbsp;&nbsp; porta,0</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; movlw&nbsp;&nbsp;&nbsp; .15</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; movwf&nbsp;&nbsp;&nbsp; time</TT><TT></TT>

<P><TT>should be</TT><TT></TT>

<P><TT>&nbsp;&nbsp;&nbsp; sw15</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; goto&nbsp;&nbsp;&nbsp; sixteen</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; movlw&nbsp;&nbsp;&nbsp; .15</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; movwf&nbsp;&nbsp;&nbsp; time</TT>
<BR><TT></TT>&nbsp;<TT></TT>

<P><TT>2. is not a good idea in your main loop jump back on</TT>
<BR><TT>&nbsp;&nbsp; port setting line. after initializing ports I have</TT>
<BR><TT>&nbsp;&nbsp; bsf&nbsp; instruction&nbsp; in main loop I was getting
pulses</TT>
<BR><TT>&nbsp;&nbsp; on same bsf pin. since on reset ports are input</TT>
<BR><TT>&nbsp;&nbsp; maybe that was the reason to cut out that is how</TT>
<BR><TT>&nbsp;&nbsp; created pulse. after I changed it works ok.</TT><TT></TT>

<P><TT>&nbsp;&nbsp; I still have timer problem.</TT><TT></TT>

<P><TT>Andre</TT></HTML>

</x-html>

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...