SparkFun Qwiic Micro (SAMD21E) Hookup Guide

Pages
Contributors: M-Short, Elias The Sparkiest, bboyho

Example 1: Blink

Here's a quick example sketch to get the iconic blinking blue stat LED for Arduino blinking on the SparkFun Qwiic Micro; simply copy and paste from below, then click upload!

language:c
const int LED = 13; // Blue "stat" LED on pin 13

void setup() 
{
  pinMode(LED, OUTPUT); //set pin as output
  digitalWrite(LED, LOW); //turn LED off
}

void loop() 
{

  digitalWrite(LED, HIGH); // Blue LED on
  delay(250);
  digitalWrite(LED, LOW); // Blue LED off
  delay(250);
}

Now that you've passed the Arduino litmus test, you're all set up to start building your first project. If you haven't already, go check out our Qwiic eco-system which allows you to easily connect with sensors and other devices without the need for soldering.

Qwiic Connect System

In addition each add-on board within this eco-system has a library to get you started right away. For example, do you want to turn on a lamp with your SparkFun Qwiic Micro, better yet four lamps, or perhaps you'd like to see how much light your plants are getting? Check out any tutorial tagged with Arduino, sensor, and Qwiic for more ideas!

SparkFun MicroMod Input and Display Carrier Board Hookup Guide

A short Hookup Guide to get started with the SparkFun MicroMod Input and Display Carrier Board

Qwiic Digital Desk Sign with MicroMod

Make a Qwiic-enabled digital desk sign with a MicroMod SAMD51 Processor Board's USB Host and a USB keyboard!

How to Add Audio to Your Embedded Project Using SparkFun's Qwiic Twist and Audio Player Breakout

Looking to bring sound into your next embedded project? In this tutorial, we'll walk you through using the SparkFun Audio Player Breakout in combination with the Qwiic Twist to let you select and play tracks from a microSD card.
New!

Build Your Own High-Concentration CO2 Detector

The SparkFun STC31 CO2 Sensor can accurately measure CO2 concentrations up to 100% with high repeatability and long-term stability, thanks to humidity and temperature compensation provided by the built-in SHTC3. This tutorial will show you how!