AltSoftSerial is not supported on the AtSAMD21.There are also examples for an Adafruit feather found in the menu a la carte example: a_ la_ carte See https:/ / / using-atsamd21-sercom-to-add-more-spi-i2c-serial-ports/ overview for more instructions on how to configure these ports, if you need them. There are up to 6 total "sercom" ports hard which can be configured for either hardware serial, SPI, or I2C (wire) communication on this processor.Most variants have one I2C (Wire) interface configured by default (likely pins 20 (SDA) and 21 (SCL)).Chip select/slave select and card detect pins vary by board. Most variants have one SPI port configured by default (likely pins 22 (MISO), 23 (MOSI), and 24 (SCK)).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |