Basic usage of the MCP320X class is as follows:
// 8 channels. Uses default clock rate & CS pin. Other constructors are provided as well. MCP320X myChip = new MCP320X(8); // Read the ADC measurement for channel 0 ushort myReading = myChip.ReadADC(0);
[edit]The ZIP file was replaced 2010-11-28 to accomodate the MCP3202 chip. The command structure is slightly different, and the example class should handled 3202, 3204 and 3208 chips now.[/edit]