Idris WROTE:Hi cheekangteh,
I have copy the code and only change #include <16f877a.h> to #include <pic.h>, I got ********** Build successful! **********
Maybe there have a problem on your compiler.
after i change to <pic.h>, i get these error:
***Error 18"PR6(Bluetooth Remote Control).c" Line (10,17): File not be opened
Not in "C:\Program Files\PICC\devices\pic.h"
not in "C:\Program Files\PICC\drivers\pic.h"
Not in local "C:\Users\Chee Kang\Desktop\PSM\Source Code PR6\pic.h"
***Error 128 "PR6(Bluetooth Remote Control).c" Line 20(1,8): A#DEVICE required before this line
***'PR6(Bluetooth Remote Control).c" Line 20: Error#28:Expecting an identifier