Go to Post Try to remember, FIRST is like life, it is about the journey not the destination. - rees2001 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2010, 20:58
tdidi tdidi is offline
Registered User
FRC #2619
 
Join Date: Jan 2010
Location: Midland, MI
Posts: 7
tdidi is an unknown quantity at this point
ADXL345 using I2C

So I've been trying just about everything, but the Digital Sidecar or the cRIO does not want to communicate with the accelerometer. Using an I2C "listener", I can tell that the cRIO isn't sending (or receiving) any signals to/from the accelerometer, and using an arduino, I've confirmed that the addresses I'm using for the accelerometer are all correct.

Anyone know of a "duh" reason why their not communicating?

Also worth noting, anyone else find that the I2C class "write" function is broken? (They use a || when I really think it should be a |.)
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2010, 21:02
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: ADXL345 using I2C

Quote:
Originally Posted by tdidi View Post
Also worth noting, anyone else find that the I2C class "write" function is broken? (They use a || when I really think it should be a |.)
Someone beat ya to it.

http://firstforge.wpi.edu/sf/go/artf1144
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hook up ADXL345 to cypress breadboard at driver station erichahn525 Programming 4 23-01-2010 12:22
i2c output virtuald Programming 16 18-01-2009 19:20
what I2C means? matanost General Forum 6 11-12-2008 16:44
I2C tutorials John Gutmann Electrical 3 30-07-2005 10:44
I2C? John Gutmann Electrical 3 19-07-2005 22:52


All times are GMT -5. The time now is 02:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi