Hi, i'm new to C language and i am doing on a project which connect one master to two or more PIC16F877A using SPI or I2C. I wish to make the master device transmit PWM to slave device in order to control the motor speed at slave.
I read from many posts that commented SPI is simpler than I2C, is that true?
Can i have coding for the SPI? Thanks.
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
Posted: Mon Nov 30, 2009 8:31 am
To me SPI and I2C are about the same. As far as giving you the code, I don't think anyone here wants to do your project for you. Try doing some searching on this forum and you will find a lot of code to get you started. _________________ Google and Forum Search are some of your best tools!!!!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum