Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit 2f6cf19

Browse files
committed
updated xiao docs
1 parent 78c4329 commit 2f6cf19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/devices/shields/xiao-expansion-board.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ click the **wand** icon on the file menu and
1818
select "Seeed Xiao ESP32-C3 Expansion board".
1919

2020
```ts
21-
import { XiaoExpansionBoard } from "@devicescript/drivers"
21+
import { XiaoExpansionBoard, startCharacterScreen } from "@devicescript/drivers"
2222
const shield = new XiaoExpansionBoard()
2323

24-
const display = await shield.startDisplay()
24+
const display = await startCharacterScreen(shield.startDisplay())
2525
const buzzer = await shield.startBuzzer()
2626
const button = await shield.startButton()
2727
```

0 commit comments

Comments
 (0)