added project 3 code with working spi