We are using MPLAB IDE + HI-TECH C Compiler (for PIC16) or MPLAB C18 (for PIC18F).
You can refer to the tutorial of SK40C Getting Started
TeoYX WROTE:Is that work even i no connect the PIC to my pc?
Since i don't know whether my source code is correct or not, how do i debug to know the error if any?
Thanks for your teaching video, that's really helpful.
hyng WROTE:TeoYX WROTE:Is that work even i no connect the PIC to my pc?
Since i don't know whether my source code is correct or not, how do i debug to know the error if any?
Thanks for your teaching video, that's really helpful.
Yes, you can build your code even there is no PIC connected.
That's depending on your C programming skill, you have to learn. We provide many sample source code in C, you can learn from there. BTW, is your code really failed to build? Please don't be afraid to try your code on your circuit. At least it is my practice to test the code on my circuit.We always learning from mistake.
TeoYX WROTE:hyng WROTE:TeoYX WROTE:Is that work even i no connect the PIC to my pc?
Since i don't know whether my source code is correct or not, how do i debug to know the error if any?
Thanks for your teaching video, that's really helpful.
Yes, you can build your code even there is no PIC connected.
That's depending on your C programming skill, you have to learn. We provide many sample source code in C, you can learn from there. BTW, is your code really failed to build? Please don't be afraid to try your code on your circuit. At least it is my practice to test the code on my circuit.We always learning from mistake.
Yes, i success just now. There is something wrong in the program. There shows ADGO is unidentified. I am using the PR11 Temperature Control LM35. This AFGO is the second bit in ADCON0. Do you know what is the problem?
Moreover, can i use Microsoft Visual Studio to do the debugging as well?
Please advice if anyone know. Thanks a lot.
Users browsing this forum: No registered users and 4 guests