Thread: Java SPI comm
View Single Post
  #1   Spotlight this post!  
Unread 11-01-2012, 02:06
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Java SPI comm

We're in the midst of switching from C++ to Java on our team (various reasons, mainly because it's easier to teach in for the 5 or so new programmers, and the only other senior programmer is more comfortable with it). While I was looking through the WPILibj library for using our ADXL345 in SPI mode, I noticed there were no classes for communicating via SPI. AT ALL.

What's the reason that we're limited to using the I2C interface, rather than SPI if we need to talk to other digital sensors that we dont have the slots for?
__________________
Attending: MN Duluth Regional