hi
I work on a project to realize a temperature acquisition card ,with 14 analogic input, based in a 16F887 microcontroller,and controlled by computer, so I tried to configure the UART module in C (with pic C compiler) to be able to exchange data between my card and the PC via the rS 232 connection, but I can not succeed in this task as I am new in this field.
then I will be grateful if someone can give me a C program that allows me to achieve this task.
16F887 UART
Re: 16F887 UART
Download the Easypic6 Development board sample programs.
I think there is a UART sample code there
I think there is a UART sample code there
Start every day with a smile...... (get it over with)
-
- Posts: 4
- Joined: 12 Mar 2013 11:02
Re: 16F887 UART
thank you very much brother, I just want to know if this code which you speak is compatible with PIC C compiler and thank you in advance
Re: 16F887 UART
Hi,
Yes, this code is compatible with the mikroC PRO for PIC compiler.
Regards,
Filip.
Yes, this code is compatible with the mikroC PRO for PIC compiler.
Regards,
Filip.
Re: 16F887 UART
Ah.... I see now...
You have the older version of C compiler.
The code may not work for the old compiler.
The old compiler is obsolete.
Upgrade to the latest 'pro' version. Upgrading is free. Just make sure you have the registration program handy.
If you have not registered, then you can still upgrade to the latest 'pro' compiler, but code size will be limited
You have the older version of C compiler.
The code may not work for the old compiler.
The old compiler is obsolete.
Upgrade to the latest 'pro' version. Upgrading is free. Just make sure you have the registration program handy.
If you have not registered, then you can still upgrade to the latest 'pro' compiler, but code size will be limited
Start every day with a smile...... (get it over with)
-
- Posts: 4
- Joined: 12 Mar 2013 11:02
Re: 16F887 UART
thnx man,but i don't work widh "mikroC compiler", i'm working with an athor software called "PICC compiler"
in this link you can get an idea about "PIC compiler"
https://www.google.tn/search?q=picc+com ... 66&bih=667
in this link you can get an idea about "PIC compiler"
https://www.google.tn/search?q=picc+com ... 66&bih=667
Re: 16F887 UART
Then you are on completely the wrong forum.lotfibedui wrote:i'm working with an athor software called "PICC compiler"
This is the MikroElectronica forum.
Start every day with a smile...... (get it over with)
-
- Posts: 4
- Joined: 12 Mar 2013 11:02
Re: 16F887 UART
yes I know but I thought may be someone of you have an idea about my problem that can be useful to me
thanks for your time anyway
thanks for your time anyway