View Single Post
  #1   Spotlight this post!  
Unread 09-02-2016, 14:59
pblankenbaker pblankenbaker is offline
Registered User
FRC #0868
 
Join Date: Feb 2012
Location: Carmel, IN, USA
Posts: 103
pblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of light
Re: I2C Color Sensor not working

Are you using the color sensor found at: http://www.modernroboticsinc.com/color-sensor

If so, it looks like product page indicates that the address of the sensor is 0x3C. Could it be that you just need to change:

Code:
ColorSensor = new I2C(I2C.Port.kOnboard, 0x1E);
To:

Code:
ColorSensor = new I2C(I2C.Port.kOnboard, 0x3C);
Reply With Quote