hi.. Is there any configurtion that i need to change so that 16f628 act like the 16F84?what abouT USART?should i include some command in my programing? --- Sascha wrote: > > I use this to configure the 16F628 to act like the > 16F84: > > CLRF PORTA > MOVLW b'00000111' > MOVWF CMCON ; turn off comparators > CLRF STATUS > BSF STATUS,RP0 ; select BANK1 for operation > CLRF TRISB ; config PORTB & PORTA pins > CLRF TRISA > ; do OPTION_REG configuration here > ; do INTCON configuration here > BCF STATUS,RP0 ; back to BANK0 > MOVF CMCON,F > > Regards, > Sascha > Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist