added SPIScan.c