using FastSPI_LED2 rc1, rewritten some of the functions