?
prelimanry code ideas
this is wat i got so far
list p=16f877a
#include <pic16f877a.inc>
__config _CP_OFF & _WDT_OFF & _BODEN_OFF & _PWRTE_ON & _HT_OSC & _WRT_OFF & _LVP_OFF & _CPD_OFF
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;unsure about declaring variables
;VALUE equ
ORG h'00' ;restart vector
GOTO MAIN
ORG h'05'
;base7 count sequence is 0,1,2,3,5,6,10,11,12,13,14,15,16,20
;base10 count 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
START
CLRF VALUE ;OUTPUT TO 7-SEG DISPLAY
LOOP1
movlw d'07'
movwf h'0E'
LOOP2
incf VALUE,F
decfsz h'0E',F
goto LOOP2
movlw d'04'
addwf VALUE,W
sublw d'66' ;max count of stopwatch is 66
btfss STATUS,Z
goto LOOP1
where would you put the delay of 1.38s between each count in?