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

DIY Digital Alarm Clock Using REKA:BIT With Micro:bit
Display Internet Time (NTP) on micro:bit
DIY Interactive Robot Using REKA:BIT With Micro:bit
BLTouch Installation for Ender 3 with 32-bit V4.2.2 Board
Pick and Send Random Meal’s Option and Locations through Telegram Bot Using Grove WiFi 8266 on micro:bit
Tutorials of Cytron Technologies Scroll to Top