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

How to read data from a dual axis accelerometer sensor ?

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



Joined: 16 Jun 2010
Posts: 31

View user's profile Send private message

How to read data from a dual axis accelerometer sensor ?
PostPosted: Fri Dec 17, 2010 1:46 pm     Reply with quote

I want to build balancing robot. So I have to read data from a dual axis accelerometer sensor such as MEMSIC 2125 http://www.parallax.com/Portals/0/Downloads/docs/prod/sens/28017-Memsic2Axis-v2.0.pdf but I don't know how to read that. Can you tell me how to read tilt from MEMSIC 2125 ?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Dec 17, 2010 2:24 pm     Reply with quote

Their documentation shows sample PicBasic code which uses the Pulsin
command. The Pulsin function has been ported to CCS. See this link:
http://www.ccsinfo.com/forum/viewtopic.php?t=42353
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