Black Friday Offer 2014
It is currently 28 Nov 2014 21:17

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: 16F887 UART
PostPosted: 12 Mar 2013 11:46 
Offline

Joined: 12 Mar 2013 11:02
Posts: 4
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.


Top
 Profile  
 
 Post subject: Re: 16F887 UART
PostPosted: 12 Mar 2013 14:03 
Offline

Joined: 27 Jun 2010 12:07
Posts: 574
Location: England
Download the Easypic6 Development board sample programs.

I think there is a UART sample code there

_________________
Experienced hobbyist


Top
 Profile  
 
 Post subject: Re: 16F887 UART
PostPosted: 13 Mar 2013 21:12 
Offline

Joined: 12 Mar 2013 11:02
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: 16F887 UART
PostPosted: 14 Mar 2013 12:14 
Offline
mikroElektronika team
User avatar

Joined: 25 Jan 2008 09:56
Posts: 8061
Hi,

Yes, this code is compatible with the mikroC PRO for PIC compiler.

Regards,
Filip.


Top
 Profile  
 
 Post subject: Re: 16F887 UART
PostPosted: 14 Mar 2013 12:23 
Offline

Joined: 27 Jun 2010 12:07
Posts: 574
Location: England
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

_________________
Experienced hobbyist


Top
 Profile  
 
 Post subject: Re: 16F887 UART
PostPosted: 14 Mar 2013 17:50 
Offline

Joined: 12 Mar 2013 11:02
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: 16F887 UART
PostPosted: 14 Mar 2013 18:18 
Offline

Joined: 27 Jun 2010 12:07
Posts: 574
Location: England
lotfibedui wrote:
i'm working with an athor software called "PICC compiler"
Then you are on completely the wrong forum.

This is the MikroElectronica forum.

_________________
Experienced hobbyist


Top
 Profile  
 
 Post subject: Re: 16F887 UART
PostPosted: 17 Mar 2013 11:35 
Offline

Joined: 12 Mar 2013 11:02
Posts: 4
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 :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group