Adafruit Sensor Library Compatibility with Metro M0 Express

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Holmesith
 
Posts: 1
Joined: Tue Oct 05, 2021 6:28 pm

Adafruit Sensor Library Compatibility with Metro M0 Express

Post by Holmesith »

Hello,

I was recently looking into switching over to a Metro Express from a Leonardo. However, I am using several TCS3475 RGB sensors and a TCA9548A I2C Multiplexer. I am using the libraries given by adafruit (https://github.com/adafruit/Adafruit_TCS34725) to control the sensors, I was wondering if these libraries will work with the Metro Express. I did some research with the libraries and in the TCS3475 cpp file there are a few includes that called for AVR libraries. Will the library work on the M0? If not, is there a way to convert the code to make it work with the M0?

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Sensor Library Compatibility with Metro M0 Expr

Post by dastels »

It should give you no trouble at all. See https://learn.adafruit.com/adafruit-color-sensors.

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Metro, Metro Express, and Grand Central Boards”