View Single Post
  #1   Spotlight this post!  
Unread 06-02-2016, 15:34
TrentMcBignerd TrentMcBignerd is offline
Registered User
FRC #1982
 
Join Date: Feb 2016
Location: Lenexa
Posts: 1
TrentMcBignerd is an unknown quantity at this point
I2C Color Sensor not working

My team recently purchased a Modern Robotics Color Sensor, so we are trying to test it out before implementing it on our robot. However whenever we try to use the read method on the color sensor, it return true, meaning the transfer was aborted. However we tried communicating with it and we can, because we are able to turn on and off the led on the sensor. Can someone please explain?
The problem is at line 150.
https://github.com/CougarRobotics198...new/Robot.java
Reply With Quote