Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
What Andre means is that whatever complier you are using, Assembler, C, Basic , you will probably find that they have an SPI or I2C program code routine ready made in their libraries, though it is possible to code up your own.