pic32/libraries/SoftSPI/SoftSPI.cpp
/* ------------------------------------------------------------ */
/***	SoftSPI::begin
**
**	Parameters:
**		pinSSt		- digital pin to use for SS
**		pinMOSIt	- digital pin to use for MOSI
**		pinMISOt	- digital pin to use for MISO
**		pinSCKt		- digital pin to use for SCK
**
**	Return Value:
**		none
**
**	Errors:
**		none
**
**	Description:
**		Pepare the object for use. Set the pin directions, and
**		set SS HIGH and the clock to the idle state
*/
:begin

pinSSt          - digital pin to use for SS
pinMOSIt        - digital pin to use for MOSI
pinMISOt        - digital pin to use for MISO
pinSCKt         - digital pin to use for SCK

Return Value:
none

none

Pepare the object for use. Set the pin directions, and
set SS HIGH and the clock to the idle state
: begin pinSSt - digital pin to use for SS pinMOSIt - digital pin to use for MOSI pinMISOt - digital pin to use for MISO pinSCKt - digital pin to use for SCK Return Value : none none Pepare the object for use . Set the pin directions and set SS HIGH and the clock to the idle state
bool
SoftSPI::begin(uint8_t pinSSt, uint8_t pinMOSIt, uint8_t pinMISOt, uint8_t pinSCKt) {
	pinSS	= pinSSt;
	pinMOSI	= pinMOSIt;
	pinMISO	= pinMISOt;
	pinSCK	= pinSCKt;
    return(begin());
}
bool SoftSPI :: begin ( uint8_t pinSSt , uint8_t pinMOSIt , uint8_t pinMISOt , uint8_t pinSCKt ) { pinSS = pinSSt ; pinMOSI = pinMOSIt ; pinMISO = pinMISOt ; pinSCK = pinSCKt ; return ( begin ( ) ) ; }
SoftSPI::begin
SoftSPI :: begin
/* Remember the pin numbers.
	*/