Error while compliing

Status
Not open for further replies.

Neyolight

Full Member level 5
Joined
Aug 29, 2011
Messages
306
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
World
Activity points
3,624
Hi

Im using HI Tect C complier to build my code for a PIC18f4620:

The code line: #pragma interrupt tmr0_handler

The error: unknown pragma "tmr0_handler"

I have this sortof error for #pragma code high_vector=0x08

The error: unknown pragma "code"

Not sure why this is happening?

Kindly HELP :roll:

---------- Post added at 14:28 ---------- Previous post was at 14:17 ----------

Also using strcpypgm2ram (LCDText, "Hello World");

giving me error: function declared implicit int
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…