Arduino-like SPI library for STC