+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Member level 4
    Points: 1,820, Level: 9
    Achievements:
    7 years registered

    Join Date
    Aug 2009
    Posts
    72
    Helped
    1 / 1
    Points
    1,820
    Level
    9

    EXAMPLES for HITECH C step by step beginner

    Hello, I would like to ask where I could find some examples for HITECH C to compile step by step simple applications, such USART, or PWM. It's the first time I deal with PIC and embedded C so please be elaborate.

    I 've found a similar thread but it is very old. At that thread http://www.edaboard.com/thread35128.html I read there is an example folder. the only folders I found was 9.82 and 9.83 which is the version of HITECH compiler. That folders include just the manuals.
    -Do you mean the pdfs? I wouldn't say they include lots of programs , and the manual is not so user friendly for a newbie. For example, Texas Instruments have much better and completed examples for lots of applications.
    -If not, how can I find these examples? Should they be installed with the compiler?

    I've only made some Hello World programs with LEDS and delays. I wanna learn how to use TIMERS etc.

    Thank you very much !

    •   Alt20th December 2011, 17:40

      advertising

        
       

  2. #2
    Administrator
    Points: 69,041, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2351 / 2351
    Points
    69,041
    Level
    64
    Blog Entries
    4

    Re: EXAMPLES for HITECH C step by step beginner

    The best PIC and HiTech C Compiler tutorials available are the following:

    Gooligum PIC Tutorials

    They cover both the Baseline and Midrange PICs using the HiTech C Compiler. Each tutorial is available in PDF format along with the associated project files.

    Very professionally done covers most of the peripherals available on the Midrange PICs.

    BigDog


    3 members found this post helpful.

    •   Alt20th December 2011, 17:54

      advertising

        
       

  3. #3
    Member level 4
    Points: 1,820, Level: 9
    Achievements:
    7 years registered

    Join Date
    Aug 2009
    Posts
    72
    Helped
    1 / 1
    Points
    1,820
    Level
    9

    Re: EXAMPLES for HITECH C step by step beginner

    thank you for your answer, I know that link , but I would like to know if there is something already installed. For example, when you install code composer studio for texas instruments , it comes with a bunch of examples, at least 5 for each category.

    ---------- Post added at 19:10 ---------- Previous post was at 19:08 ----------

    Additionally, this guy, has limited tutorials in C. For instance for the use of TIMERS includes only assembly code which is useless for me...



    •   Alt20th December 2011, 18:10

      advertising

        
       

  4. #4
    Administrator
    Points: 69,041, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2351 / 2351
    Points
    69,041
    Level
    64
    Blog Entries
    4

    Re: EXAMPLES for HITECH C step by step beginner

    Sort of.

    If you look in the installation directory PICC/Samples you find some examples demonstrating several of the libraries, features and peripherals of that particular family of PICs.

    Unfortunately, the samples do not come with any sort of documentation, other than comments in code.

    A better source for HiTech source code examples is:

    MicrochipC.com PIC Micros and C

    The following sites offer tutorials covering several topics using HiTech C:

    eXtreme Electronics PIC Tutorials

    PyroElectro Tutorials

    Welcome to ermicroblog

    BigDog


    2 members found this post helpful.

  5. #5
    Member level 4
    Points: 1,820, Level: 9
    Achievements:
    7 years registered

    Join Date
    Aug 2009
    Posts
    72
    Helped
    1 / 1
    Points
    1,820
    Level
    9

    Re: EXAMPLES for HITECH C step by step beginner

    I am grateful, thank you both. I ve got work to do ...

    ---------- Post added at 12:16 ---------- Previous post was at 11:09 ----------

    BigDog, I finally found these examples you re talking about.. But "This source code may only be used by licensed users of the CCS C compiler. "
    Does this mean code composed studio maybe? and the example works with " the PCB and PCM compilers".
    So it would be ideal if HITECH had some official and organised examples, I am dissapointed .. But fortunately there is stuff around.



--[[ ]]--