GSM module with Pic16F877A - MPLABX and XC8

Thread Starter

appoos

Joined Sep 18, 2006
12
Dear all,

I am trying to send a message from PIC16F877a through GSM module as shown below.I am considering only a sending process function by using a push-button. Therefore, every time I would press the push-button, a fixed message would be sent to a specific recipient

It is my first project in UART. Please let me know which is the header file I should use .
Can anyone give me the sample code/reference for sending SMS... I will work on remaining features once this is ready :)

Thanks in advance


 

Thread Starter

appoos

Joined Sep 18, 2006
12
I do see lot of programs using MikroC, Hitech compilers.. Hitech C is no Longer Available.. I could not find GSM programs in XC8..
 

Thread Starter

appoos

Joined Sep 18, 2006
12
Dear all...

I am planning to use the code which is writtern in MikroC.
What will be the changes needed for XC8
 
Last edited:

ErnieM

Joined Apr 24, 2011
8,377
1. Load code into an XC8 project.
2. Compile.
3. Look at the first error message you get.
4. Look up in the XC8 User's guide how XC8 does that method and rewrite code.
5. Rinse, wash, repeat until compile is clean.

Then test code in unit to see if it still performs the same.
 
Top