17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Simulates an I2C serial EEPROM showing the PIC slave mode<br />

EX_SPEED.C<br />

Calculates the speed of an external object like a model car<br />

EX_SPI.C<br />

Communicates with a serial EEPROM using the H/W SPI module<br />

EX_SPI_SLAVE.C<br />

How to use the PIC's MSSP peripheral as a SPI slave. This example will talk to the ex_spi.c<br />

example.<br />

EX_SQW.C<br />

Simple Square wave generator<br />

EX_SRAM.C<br />

Reads and writes to an external serial RAM<br />

EX_STEP.C<br />

Drives a stepper motor via RS232 commands and an analog input<br />

EX_STR.C<br />

Shows how to use basic C string handling functions<br />

EX_STWT.C<br />

A stop Watch program that shows how to user a timer interrupt<br />

EX_SYNC_MASTER.C<br />

EX_SYNC_SLAVE.C<br />

An example of using the USART of the PIC in synchronous mode. The master and slave<br />

examples talk to each other.<br />

EX_TANK.C<br />

Uses trig functions to calculate the liquid in a odd shaped tank<br />

EX_TEMP.C<br />

Displays (via RS232) the temperature from a digital sensor<br />

EX_TGETC.C<br />

Demonstrates how to timeout of waiting for RS232 data<br />

EX_TONES.C<br />

Shows how to generate tones by playing "Happy Birthday"<br />

EX_TOUCH.C<br />

Reads the serial number from a Dallas touch device<br />

EX_USB_HID.C<br />

Implements a USB HID device on the PIC16C765 or an external USB chip<br />

EX_USB_SCOPE.C<br />

376

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

Saved successfully!

Ooh no, something went wrong!