Skip to main content

Seeed Xiao ESP32-C3 Expansion board

Photograph of shield

DeviceScript import

You must import XiaoExpansionBoard to access the shield services.

In Visual Studio Code, click the wand icon on the file menu and select "Seeed Xiao ESP32-C3 Expansion board".

import {
} from "@devicescript/drivers"
const shield = new XiaoExpansionBoard()

const display = await startCharacterScreenDisplay(await shield.startDisplay())
const buzzer = await shield.startBuzzer()
const button = await shield.startButton()