updates for ttl laser control using spi

includes the spi c file for reference