hi
i am completely new to programming with PIC's and at the moment i am using MikroC PRO to do my programming in C for a particular micro controller.so my question is that:
is their any difference between software C programming language and microcontroller base PIC c language because i have been having some problems with it for example the following code works with software C but does not compile on mikroC PRO for the pic micrcontroller:
int alarm[3]={1,2,3};
alarm[1]=4;
and you cant use functions like printf on it. can anyone explain this?
i am completely new to programming with PIC's and at the moment i am using MikroC PRO to do my programming in C for a particular micro controller.so my question is that:
is their any difference between software C programming language and microcontroller base PIC c language because i have been having some problems with it for example the following code works with software C but does not compile on mikroC PRO for the pic micrcontroller:
int alarm[3]={1,2,3};
alarm[1]=4;
and you cant use functions like printf on it. can anyone explain this?