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.
;*** Blink3.asm will flash LED 3
;*** Junebug DIP switches 1,2,3 on all others off
list p=18F1320
include <p18f1320.inc>
CONFIG OSC=INTIO2,WDT=OFF,LVP=OFF
org 0h ; reset vector
clrf LATA ; zero PORTA output latch
movlw b'00111111' ; RA7 & RA6 outputs (LED 3 & 4)
movwf TRISA
Loop btg LATA,6 ; toggles 0/1 RA.6 (LED will flash)
decfsz WREG ; use W as a delay counter
bra $-2 ; jump back to previous instruction
bra Loop ; loop forever
END
RODALCO said:I remember very well when i built my first LED flip flop with 2 red Leds, 2 transistors 2 capacitors and 4 resisitors.
Very proud I was when it worked.
I didn't have proper veroboard and used stiffcardboard in which I pricked the holes for the components.
.
Brian218 said:IHere's a book publisher that reprints and publishes old technical books. I just ordered their catalog (Free in the U.S., but $4.00 for anywhere else) It looks interesting; I can't wait for the catalog to arrive.
http://www.lindsaybks.com/index.html