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 CCS Technical Support

using ADC 8 and 10 for sensor

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



Joined: 08 Oct 2010
Posts: 4

View user's profile Send private message Send e-mail Yahoo Messenger

using ADC 8 and 10 for sensor
PostPosted: Sat Dec 04, 2010 1:39 pm     Reply with quote

Hello. I got problem due to using 2 sensor which is accelerometer and maxbotic sensor. Accelerometer use adc=10 and maxbotic sensor use adc=8. How I want to do the program to solve this problem? Thanks.
http://www.maxbotix.com/
Ttelmah



Joined: 11 Mar 2010
Posts: 19510

View user's profile Send private message

PostPosted: Sat Dec 04, 2010 3:37 pm     Reply with quote

Just use adc=10, and in the code for the maxbiotic sensor, divide the ADC reading by 4.

Best Wishes
zulancer



Joined: 08 Oct 2010
Posts: 4

View user's profile Send private message Send e-mail Yahoo Messenger

PostPosted: Sat Dec 11, 2010 11:44 pm     Reply with quote

Problem solved. Thx Ttelmah Very Happy
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Mon Dec 13, 2010 7:23 am     Reply with quote

I'm doing a project with the same sensor combo!
2 axis accel. + maxbotics sensor!


What is your project/goal if you don't mind me asking?

I find it interesting to see what other people can do with the same hardware...

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
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