EasyManuals Logo

Adafruit Feather M4 Express User Manual

Adafruit Feather M4 Express
178 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #153 background imageLoading...
Page #153 background image
Where's my I2C?
On the SAMD21, we have the flexibility of using a wide range of pins for I2C. Some chips, like the ESP8266 can use
any
pins for I2C, using bitbangio. There's some other chips that may have fixed I2C pin.
The good news is you can use many but not
all
pins. Given the large number of SAMD boards we have, its impossible
to guarantee anything other than the labeled 'SDA' and 'SCL'. So, if you want some other setup, or multiple I2C
interfaces, how will you find those pins? Easy! We've written a handy script.
All you need to do is copy this file to your board, rename it code.py, connect to the serial console and check out the
output! The results print out a nice handy list of SCL and SDA pin pairs that you can use.
These are the results from an ItsyBitsy M0 Express. Your output may vary and it might be
very
long. For more details
about I2C and SERCOMs, check out our detailed guide here (https://adafru.it/Ben).
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51 Page 158 of 183

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Adafruit Feather M4 Express and is the answer not in the manual?

Adafruit Feather M4 Express Specifications

General IconGeneral
BrandAdafruit
ModelFeather M4 Express
CategoryMicrocontrollers
LanguageEnglish

Related product manuals