Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Pic16f877a with XC8

Status
Not open for further replies.
Hello
Can we use XC8 for 16f877a if yes then i have following question

1. If i use #define GENERATOR PORTDbits_t.RD6 it gives error that no identifier in declaration but if i replace it with RD6 error is gone.

2. As i am converting a 18f452 code to 16f877a i get this error for delay functions


Error [500] ; 0. undefined symbols:
_Nop(code.obj) _Delay1KTCYx(code.obj) ___delay_ms(code.obj) ___delay_us(code.obj)
(908) exit status = 1

what can i do for delays ?
 
Status
Not open for further replies.

Latest threads

Back
Top