Accessing all of the IOMs on the Artemis ATP

I am an old PLC programmer and new to the Arduino IDE. I am familiar with python 3 and am relearning C++ after many years.

I have an Artemis ATP and am developing an application for it that will require almost all of its IOMs. I want to use hardware SPI and I2C for performance reasons and am confused on how to configure them. I need two each of SPI and I2C at the moment.

I see IOM5's pins are shared with UART0 on the Redboard ATP, so I'm using it for my console.

In reading SPI.h and Wire.h I see the keywords VARIANT_SPI_INTFCS and VARIANT_WIRE_INTFCS which determine the number of each interface type that are defined in the related .h file. Can I just redefine these keywords in my .ino program, or is there a VARIANT file someplace that I need to edit?

TIA!
Gyz

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.