CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

I2C bus

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
yannp



Joined: 12 Oct 2005
Posts: 13

View user's profile Send private message

I2C bus
PostPosted: Thu Oct 20, 2005 3:19 pm     Reply with quote

I have posted stuff before about trying to control a lot of servos....

http://www.robot-electronics.co.uk/htm/sd20tech.htm

seems to be a very interesting device, almost perfect.... but I need to be able to send a message across the I2C bus....

The example code I have found handles sends and recieves but I'm not too sure what is needed, I just want to issue a long list of commands for a bipedal walking robot and sometimes interrupt the stream if a sensor picks up something....... I don't suppose anyone is willing to spare me some time and hack a I2C piece of code so that only the relevant material remains..... Embarassed
yannp



Joined: 12 Oct 2005
Posts: 13

View user's profile Send private message

PostPosted: Fri Oct 21, 2005 11:50 am     Reply with quote

OK so begging for help doesn't seem to work... I have had a go at writing the code for the I2C bus to communicate with the SD20, is there anyone willing to look at the code for me and see fi I'm heading in the right direction before I start buying chips and building boards....

Thanks.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Oct 21, 2005 12:29 pm     Reply with quote

To get help, we expect you to study the data sheet and write a routine,
and test it. If it doesn't work, then post the (small) routine, and explain
what you expect it to do, and point out the line of code where you think
the problem is. Basically, we expect you to do some work. Then
we'll help.
yannp



Joined: 12 Oct 2005
Posts: 13

View user's profile Send private message

PostPosted: Fri Oct 21, 2005 1:08 pm     Reply with quote

Thanks.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group