Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Look out the window or maybe that doesn't always work in Finland.How do you tell if it is AM or PM? What is wrong with 24h clock? Much better than 12 hour clock.
Probably won't work since a 24 hour clock runs hours 0 to 23, where a 12 hour clock runs hours 1-12I'd try changing the two places where,
occurs to 12.Code:movlw d'24'
Mike.
movlw d'24' (compare to 13, not 24)
subwf hours,W
btfss STATUS,Z
goto skip_clock
clrf hours ; (set hours to 1 and not 0)
[code]
movlw b'11110000' ;Íàñòðàèâàåì RA0-RA3 íà âûâîä RA4-R5 íà ââîä (RA6 RA7 íå èñïîëüçóþòñÿ)
movwf TRISA