From 2f6cf197b043f2344f16aeea452b0b74c3f9e41d Mon Sep 17 00:00:00 2001 From: pelikhan Date: Tue, 3 Oct 2023 15:59:58 -0700 Subject: [PATCH] updated xiao docs --- website/docs/devices/shields/xiao-expansion-board.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/devices/shields/xiao-expansion-board.mdx b/website/docs/devices/shields/xiao-expansion-board.mdx index 240e51fa22..66b8d1ce14 100644 --- a/website/docs/devices/shields/xiao-expansion-board.mdx +++ b/website/docs/devices/shields/xiao-expansion-board.mdx @@ -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() ```