Searching \ for '[PIC] C Compiler for 16F877' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=c
Search entire site for: 'C Compiler for 16F877'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] C Compiler for 16F877'
2003\03\14@074411 by Rafael Vidal Aroca

flavicon
face
       Hi, thanks to the hints I got in this list, now I'm using the
16F877 for the A/D operations without need of A/D converters.

       Now i'd like to know if is there any C Compiler that will support
to build a program fully in C. By that i mean it will have instructions to
work with PIC's USART and internal A/D converter.

[]s Rafael.
http://grad.icmc.sc.usp.br/~rva

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\03\14@095329 by Ned Konz

flavicon
face
On Friday 14 March 2003 04:42 am, Rafael Vidal Aroca wrote:
>         Hi, thanks to the hints I got in this list, now I'm using
> the 16F877 for the A/D operations without need of A/D converters.
>
>         Now i'd like to know if is there any C Compiler that will
> support to build a program fully in C. By that i mean it will have
> instructions to work with PIC's USART and internal A/D converter.

All the PIC C compilers that I know of have some way to do this.

CCS's PCM has a #pragma scheme that generates code for using both of
these peripherals in several modes. You put in a #use statement, and
later call a pseudo-function. They generate code for the appropriate
mode. Unfortunately, you don't get the source code for these
functions, so it's impossible to fix them if needed.

Other compilers supply library functions to do it.

Even a compiler without a library can be used, if you don't mind
writing to control registers (but I assume that's what you're trying
to avoid).

But all will get the job done without requiring assembly language.

--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\03\14@104916 by Tal

flavicon
face
You should be able to do it with CCS

http://www.ccsinfo.com/picc-referall.shtml

It has many PIC specific directives and library function to control A/D,
UART (including software emulation), timers, etc.

They have the tendency to ship version before fully debugging them but
in general it works well.

Tal


> {Original Message removed}

2003\03\17@092921 by Rafael Vidal Aroca

flavicon
face
  Hi, sorry for asking again. I looked over CCS and its great, but
commercial. Anyone ever heard about a free compiler that will support 877,
A/D and USART. Does it exist?

  Thanks again.



On Fri, 14 Mar 2003, Tal wrote:

{Quote hidden}

> > {Original Message removed}

2003\03\17@110850 by Rick Regan

picon face
>   Hi, sorry for asking again. I looked over CCS and
>its great, but
>commercial. Anyone ever heard about a free compiler
>that will support
>877,
>A/D and USART. Does it exist?

The free PICC Lite Compiler supports the 877/877A. See
http://www.hitech.com.au/products/piclite/piclite.html

I don't know if it has library support for the A/D
and USART, but you can certainly write to registers
to control them.

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

--
http://www.piclist.com hint: To leave the PICList
spam_OUTpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu>

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...