Re: CCITT in C++ for AVR



In article <dmcctj$1dkq$1@xxxxxxxxxxxxxxx>, RadGar <radgar45@xxxxxxxxx>
wrote:

> Hi,
>
> First of all - I'm a total newbie to AVR or other microcontrollers
> programming so forgive any mistakes I make.

#1 mistake is the thought of using C++ in an embedded application such
as you describe.

> To the subject now - I have no idea what type of compilers are
> available for such microcontrollers (AVR etc). What I'd like to know is
> there any library with CCITT (or other) calculation function. I'm aware
> there are many source codes for that on the web, but I'd still would go
> with the library function (just easier for the people to use it) - the
> speed is not an issue. It's just easier to point other people to the lib
> function in the documentation instead of making them type some code I
> present in the doc.

If you must use a solution from a can then at least the 16 bit version
comes in avr-libc, the most common library used with avr-gcc.
http://www.nongnu.org/avr-libc/user-manual/group__util__crc.html

Avr-gcc (including the Windows package of avr-gcc called WinAVR) is a
very good C compiler and environment for AVR development.
.



Relevant Pages

  • Re: micorcontroller help
    ... PIC's need a programmer and getting AVR samples from Atmel is akin to getting a green card. ... I prefer the AVR but for a reason that won't matter to you; I hate C so I need a good, cheep BASIC compiler. ... microcontrollers i might work with, and have narrowed it down to PICs and Atmel ICs, any reason to go with Atmels over PICs? ...
    (comp.robotics.misc)
  • Re: Which microcontroller is best for simple 120-220V control?
    ... either the AVR or MSP430 microcontrollers. ... I do have a development environment compatability issue, ... Microsoft Visual Studio, but that would require a change to Windows. ...
    (comp.arch.embedded)
  • Re: CCITT in C++ for AVR
    ... >to mechanic robots controlled by AVRs or other types of microcontrollers ... >(mostly AVR). ... >there are many source codes for that on the web, ... avr-libc is a standard library for use with avr-gcc. ...
    (comp.arch.embedded)
  • Re: AVR compilers
    ... >CodeVision C for AVR ... We have both CodeVision and avr-gcc. ... CVAVR makes things extremely easy -- it'll write your initialization ... libraries for common tasks like LCD interface, ...
    (comp.arch.embedded)
  • CCITT in C++ for AVR
    ... I am making a school project for PocketPC which is to send some data to mechanic robots controlled by AVRs or other types of microcontrollers. ... with CCITT, but still can go with other type if it makes it easier. ... I'm aware there are many source codes for that on the web, but I'd still would go with the library function - the speed is not an issue. ...
    (comp.arch.embedded)