9.1 delay.c File Reference

Includes

  1. xc.h
  2. device_config.h
  3. stdint.h

Functions

void
DELAY_milliseconds (uint16_t milliseconds)

Call this function to delay execution of the program for a certain number of milliseconds

Parameters:

milliseconds

Type: uint16_t

- number of milliseconds to delay

Returns:

None

void
DELAY_microseconds (uint16_t microseconds)

Call this function to delay execution of the program for a certain number of microseconds

Parameters:

microseconds

Type: uint16_t

- number of microseconds to delay

Returns:

None