to show how to make SPI write/read program