I am working on an embedded project that requires me to transmit data via SPI using a processor that doesn't have built in SPI ports.

I was wondering if there was a simple library/algorithm/scheme in C++ that can allow me to convert a string into its binary form so I can clock each bit in on a rising clock edge. Thanks!!!!