PIC18F2321 Delay HI-TECH C (9.8) Compiler

Discussion in 'Embedded Systems and Microcontrollers' started by glitch_freq, May 17, 2012.

  1. glitch_freq

    Thread Starter New Member

    May 17, 2012
    I am new to PIC microcontrollers and I am having an issue with the delay macros.
    I am using a Vista machine, MPLABX 1.00, the HI-TECH (9.80) C compiler and a PIC18f2321.

    My main question is do the DelayUs and DelayMs macros work for this particular PIC? I have noticed that those macros are defined in the HI-TECH users manual for the PIC 10/12/16 but not in the PIC 18 version. The only delay function in the PIC18 version is a cycle delay, and there is no time delay that I can find.