Click here to Skip to main content
15,915,019 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
about i2c,please tell me how to write programs
Posted
Comments
[no name] 14-Aug-12 7:39am    
You learn a programming language, start an editor program, write tons of code, compile it, fix the errors, test, test, test, deploy.

Maybe this[^] is what you are looking for; although I'm guessing since your question is not very clear.
 
Share this answer
 
I2C is a bus that allows you to communicate small processors and boards. You will find lots of information in the links taht Richard has posted.

Knowing that I2C is a bus (see this[^] Wikipedia article) will help you to understand it better.

Get the manuals of the devices you want to communicate.

I've seen that to control small motors and drives from a small board for an autonomous robot and in each single case the I2C specs are always there. Keep in mind that nobody will manufacture a device without giving you the information to communicate (making it work) with it. Read the manuals!

Good luck! :thumbsup:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900