an old afLib which supports both SPI and UART