View Single Post
  #1   Spotlight this post!  
Unread 15-09-2013, 09:36
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 157
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Accelerometer doesn't work in robot project

When I first tried to use the kit accelerometer with the example it didn't work (with SPI).
Then I connected it with I2C and it worked (With the example).
But when I took the example to the robot project it started acting wierd,
The wiring is the same so it has nothing to do with it..

The problem is that on the begin the open vi of the accelerometer goes into infinite loop, I added a photo of it and the loop itself deep within the vi.
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	44
Size:	779.8 KB
ID:	15212  Click image for larger version

Name:	2.jpg
Views:	36
Size:	467.3 KB
ID:	15213  Click image for larger version

Name:	3.jpg
Views:	26
Size:	719.5 KB
ID:	15214  Click image for larger version

Name:	4.jpg
Views:	32
Size:	842.4 KB
ID:	15215  
Reply With Quote