Program Seeeduino XIAO Using CircuitPython

Another platform for microcontroller, and it is CircuitPython!

Introduction

Python is the fastest growing programming language. It’s taught in schools and universities. It’s a high-level programming language which means it’s designed to be easier to read, write and maintain. CircuitPython is based on Python. It is designed to simplify experimenting and learning to code on low-cost microcontroller boards. From this tutorial, you can get start with CircuitPython using Seeeduino XIAO.

Video

This video shows how to program Seeeduino XIAO using CircuitPython.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This is CircuitPython sample program to blink an LED at pin 13 on Seeeduino XIAO.

# Board: Seeeduino XIAO
import time
import board
from digitalio import DigitalInOut, Direction
led = DigitalInOut(board.D13)
led.direction = Direction.OUTPUT
while True:
led.value = True
time.sleep(1)
led.value = False
time.sleep(1)

view raw
code.py
hosted with ❤ by GitHub

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for better application.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Simple Alarm System Using Maker Nano
Program Cucumber ESP32-S2 Using CircuitPython
Face Recognition Using OpenCV on Raspberry Pi 400
Turned Your Tablet as a Display for the Raspberry Pi 400
OpenCV Template Matching on Raspberry Pi 400
Scroll to Top