Ok , so you are all set .
LT1861 is an SPI interfaced 12 Bit A/D convertor.
here is the Datasheet. YOU HAVE to read it to check its particular SPI Timing....
LT1861
http://www.ortodoxism.ro/datasheets/lineartechnology/18601f.pdf
In Proton you have SHIN - SHOUT commands to comunicate with ANY SPI interface device.
It goes something like this , you have to read the help file ....
SYMBOL CLK = PORTB.0 ' define CLK Pin
SYMBOL DTA = PORTB.1 ' Define DATA Pin
SHOUT DTA , CLK , MSBFIRST , [ 250 ] ' To talk TO de device
SHIN DTA , CLK , MSBPRE , [VAR1] ' To Read FROM the device
You have to also read the PIC datasheet
16F628
http://ww1.microchip.com/downloads/en/DeviceDoc/40300C.pdf
![Roll Eyes](http://www.sonsivri.to/forum/Smileys/SoLoSMiLeYS1/rolleyes.gif)
Hope it helps.
Greetings
FAA