Skip to content

Commit

Permalink
updated xiao docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 3, 2023
1 parent 78c4329 commit 2f6cf19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/devices/shields/xiao-expansion-board.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ click the **wand** icon on the file menu and
select "Seeed Xiao ESP32-C3 Expansion board".

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

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

0 comments on commit 2f6cf19

Please sign in to comment.