17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example Programs<br />

Uses addressmod to create a user defined storage space, where a new qualifier is created that<br />

reads/writes to an extrenal RAM device.<br />

EX_FAT.C<br />

An example of reading and writing to a FAT file system on an MMC/SD card.<br />

EX_FLOAT.C<br />

Shows how to use basic floating point<br />

EX_FREQC.C<br />

A 50 mhz frequency counter<br />

EX_GLCD.C<br />

Displays contents on a graphic LCD, includes shapes and text.<br />

EX_GLINT.C<br />

Shows how to define a custom global interrupt hander for fast interrupts<br />

EX_HPINT.C<br />

An example of how to use the high priority interrupts of a PIC18.<br />

EX_HUMIDITY.C<br />

How to read the humidity from a Humirel HT3223/HTF3223 Humidity module<br />

EX_ICD.C<br />

Shows a simple program for use with Microchips ICD debugger<br />

EX_INTEE.C<br />

Reads and writes to the PIC internal EEPROM<br />

EX_INTFL.C<br />

An example of how to write to the program memory of the PIC.<br />

EX_LCDKB.C<br />

Displays data to an LCD module and reads data for keypad<br />

EX_LCDTH.C<br />

Shows current, min and max temperature on an LCD<br />

EX_LED.C<br />

Drives a two digit 7 segment LED<br />

EX_LINBUS_MASTER.C<br />

An example of how to use the LINBUS mode of a PIC's EAUSART. Talks to the<br />

EX_LINBUS_SLAVE.C example.<br />

EX_LINBUS_SLAVE.C<br />

An example of how to use the LINBUS mode of a PIC's EAUSART. Talks to the<br />

EX_LINBUS_MASTER.C example.<br />

EX_LOAD.C<br />

373

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!