A antoni1 New Member Dec 16, 2004 #1 HI can anyone help me with 16F877 initialize? im using RA0/AN0 for Right bumb and RA1/AN1 for left bumb RB0/INT33 is connected on an LED RC6/TX/CK is connected on SERIN of SMC02 RC2/CCP1 is connected on RESET of SMC02 void initialise() { OPTION_REG=0x00; STATUS=0x3f; TRISA=0x03; TRISB=0x02; TRISC=0x00; PORTA=0xFF; PORTB=0x00; PORTC=0x00; RB0=0; thunks
HI can anyone help me with 16F877 initialize? im using RA0/AN0 for Right bumb and RA1/AN1 for left bumb RB0/INT33 is connected on an LED RC6/TX/CK is connected on SERIN of SMC02 RC2/CCP1 is connected on RESET of SMC02 void initialise() { OPTION_REG=0x00; STATUS=0x3f; TRISA=0x03; TRISB=0x02; TRISC=0x00; PORTA=0xFF; PORTB=0x00; PORTC=0x00; RB0=0; thunks