ON 20010625@3:51:09 PM at page: http://www.piclist.com/techref/member/rJ-UoA-352/index.htm rJ-UoA-352 rajanikanth Jammalamadaka added 'Questions Pages: /techref/language/index.htm ' ON 20010625@4:01:44 PM at page: http://www.piclist.com/techref/member/rJ-UoA-352/index.htm rJ-UoA-352 rajanikanth Jammalamadaka added 'Questions: Hi! There, My Name is Raj and I am a student at the Univ Of Arizona. I want to by-pass(ie i just want the PIC to act as an address bus) the PIC pic17c44 Please look at the following code and tell me if there are any errors, the compiler is not giving me any errors but the pic is not serving it's purpose(if I use the following code). void __STARTUP(void); void _INT(void); void _TMR0(void); void _T0CKI(void); void _PIV(void); void main(void); #include // I am using this PIC #include #include #define Device_CLK 33000000 //intialization void __STARTUP(void) { DDRB=0xFF; PORTB=0; PORTA = 0; DDRC = 0; PORTC = 0; DDRD = 0xFF; PORTD = 0; DDRE = 0; PORTE = 0; } void main() { while(1) { PORTEbits.RE2=PORTBbits.RB6; PORTAbits.RA1=PORTBbits.RB7; PORTEbits.RE0=1; PORTEbits.RE1=1; PORTC=PORTD; } }' ON 20010626@10:49:55 AM at page: http://www.piclist.com/techref/member/rJ-UoA-352/index.htm JMN-EFP-786 James Newton edited the page