View Single Post
  #2   Spotlight this post!  
Unread 06-10-2016, 13:22
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 248
ArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to all
Re: [FTC]: Example code of using Adafruit color sensors with multiplexer

Quote:
Originally Posted by Christopher149 View Post
I worked out how to use Adafruit color sensors with an i2c multiplexer. Class and example usage on github at https://github.com/Chris857/FTC-Code...s/ftc/teamcode.

To use the example, create a configuration with two "I2C Device"s, named "ada" and "mux". Edit the "ports" array to the ports on the multiplexer that you have color sensors plugged in to.
Thank you for sharing. We will definitely going to use this setup.
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
2017 FTC 11722 (Coach)
2016 FTC 10544 (Coach) Canadian Championship Finalist, Rockwell Collins Innovate Award.
2014 FRC 5064 (Mentor)
Reply With Quote