hi there
I am currently programming PIC16F877 in assembly language and I managed to run the serial data tranmission (asynchronous) for the interfaced Q-TERM (LCD + keypad). The problem is, I still need to know how to access the MCU's memory to store some data coming from the QTERM. A lot told me that writing this whole program in C and using the cc5x compiler would be much easier.
My code in serial data transmission is in assembly language. I need to convert my program(assembly language) to C language (cc5x compiler) and study how to code accessing memory in C. I know C programming but i don't know how to code the serial transmission + memory allocation in cc5x. This may sound simple but I don't have enough time to just study the cc5x manual and code from there. I guess it would be a lot faster if I have some sample codes with me and maybe pattern my program to the codes.
If anyone could give/show me some codes in cc5x format, ANY code related to cc5x and PIC16F877, please..I would really appreciate it.
Thanks and more power to this forum.
I am currently programming PIC16F877 in assembly language and I managed to run the serial data tranmission (asynchronous) for the interfaced Q-TERM (LCD + keypad). The problem is, I still need to know how to access the MCU's memory to store some data coming from the QTERM. A lot told me that writing this whole program in C and using the cc5x compiler would be much easier.
My code in serial data transmission is in assembly language. I need to convert my program(assembly language) to C language (cc5x compiler) and study how to code accessing memory in C. I know C programming but i don't know how to code the serial transmission + memory allocation in cc5x. This may sound simple but I don't have enough time to just study the cc5x manual and code from there. I guess it would be a lot faster if I have some sample codes with me and maybe pattern my program to the codes.
If anyone could give/show me some codes in cc5x format, ANY code related to cc5x and PIC16F877, please..I would really appreciate it.
Thanks and more power to this forum.