Hello List, I am trying to use the MCP3208 A/D converter that will be connected to PIC MCU using the SPI mode programming but I am wondering about how to generate the CHx select combination(SINGLE/DIFF D2 D1 D0) on the bit Din.... any ideas, sample code all are welcome. Regards, Salah. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics