Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
0Activity
0 of .
Results for:
No results containing your search query
P. 1
Prueba Sujetador

Prueba Sujetador

Ratings: (0)|Views: 1|Likes:
Published by nicolosigustavo

More info:

Published by: nicolosigustavo on Nov 30, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

12/04/2012

pdf

text

original

 
include "p16f628a.inc"  __CONFIG _CP_ON & _WDT_OFF & _PWRTE_ON & _INTOSC_OSC_NOCLKOUT &_ MCLRE_OFF & _BODEN_OFF &_LVP_OFF PDel0 equ 0x20PDel1 equ 0x21PDel2 equ 0x22reset org 0x00goto inicioinicioCLRF PORTA ;Initialize PORTA by;setting;output data latchesMOVLW 0x07 ;Turn comparators off andMOVWF CMCON ;enable pins for I/O;functionsBCF STATUS, RP1BSF STATUS, RP0 ;Select Ban
 
1MOVLW 0x3e ;1F ;Value used to initialize;data directionMOVWF TRISA ;Set RA<4:0> as inputs;TRISA<5> always;read as
1
.;TRISA<7:6>;depend on oscillatormovlw 0x7fmovwf PORTB bcf STATUS,RP1bcf STATUS,RP0clrf PORTAclrf PORTBcall PDelayinicio2 bsf PORTA,0call PDelaybsf PORTA,7call PDelaybcf PORTA,7call PDelaybcf PORTA,0call PDelaygoto inicio2

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->