Download Print this page

sparkfun DEV-16885 Quick Start Manual page 12

Micromod atp carrier board

Advertisement

There are quite a lot of peripherals broken out on the MicroMod ATP Carrier Board. Depending on the design of
the Processor Board, not all of the pins may be broken out. For simplicity, we will upload a blink sketch to get
started.
Blink
Note: Make sure that for whatever processor board you choose, you have the correct board definitions
installed. Go to our MicroMod Processor Boards landing page, find your processor board, and head on over
to that tutorial for help installing your board definition.
Now that you have a Processor Board secure in the Carrier Board, let's upload a simple blink sketch to the board.
Copy and paste the following code in the Arduino IDE. Head to Tools > Board to select the correct board
definition (in this case, SparkFun MicroMod SAMD51. Select the correct COM port that the board enumerated to.
Hit upload.
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name
// uncomment the following lines if the macro is not defined for your architecture
//#define LED_BUILTIN 13 //Artemis, SAMD51
//#define LED_BUILTIN 5 //ESP32
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin using the built-in macro as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
After uploading, you should see the Processor Board's LED blink. If not, make sure that to define the pin and
check your connections.
What's next? Try building a circuit using the design files and associated tutorial for your Processor Board more
information. Keep in mind that while each Processor Board uses the same MicroMod interface pinout, each board
may have different specifications, software support, and peripherals available for the architecture.
// turn the LED on (HIGH is the voltage level)
// wait for a second
// turn the LED off by making the voltage LOW
// wait for a second

Advertisement

loading
Need help?

Need help?

Do you have a question about the DEV-16885 and is the answer not in the manual?

Questions and answers