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

ADXL210 and ADXL202 accelerometer

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



Joined: 06 May 2007
Posts: 35

View user's profile Send private message

ADXL210 and ADXL202 accelerometer
PostPosted: Sun May 06, 2007 5:13 am     Reply with quote

Hi all,
sorry for my english Smile
I have seen that in the drivers directory of CCS there is an example of ADXL210 accelerometer.
I want to know if I can use this code with the ADXL202 accelerometer!
Somebody can help me?
I must make some correction to the code?

The only difference is the calculation of the A(g)??:
Adxl202 A(g) = (T1/T2 – 0.5)/12.5%
Adxl210 A(g) = (T1/T2 – 0.5)/4%

Question Question

Thanks a lot!
Bye
Kova



Joined: 06 May 2007
Posts: 35

View user's profile Send private message

PostPosted: Mon May 07, 2007 1:41 am     Reply with quote

please boys...help me Bummed Out

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon May 07, 2007 2:09 am     Reply with quote

How about doing a web search with http://www.google.com ?

Just by typing in a search string like: ADXL202 output_low
I was able to find drivers for CCS in less than a minute.

http://www.daimi.au.dk/~ups/PvC/final-projects/09/implementation/c-code/Devices/

http://www.mis.informatik.tu-darmstadt.de/People/kristof/notes/porcupine1/porc.c

Also use this search string: ADXL202 "#use delay"

There are many more CCS example drivers out there. Learn to use
Google. You do it by typing in the name of the chip, and then some
keyword commonly used in CCS such as "output_low" or "#use delay".
Kova



Joined: 06 May 2007
Posts: 35

View user's profile Send private message

PostPosted: Mon May 07, 2007 8:48 am     Reply with quote

PCM programmer wrote:
CUT


Thanks for the links PCM programmer Razz but I wanted to know if the code included with the compiler (ADXL210.C) worked with the ADXL202 accelerometer.


Thanks for the help Cool
Bye
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