Skip to main content

Pico Bricks

PicoBricks image

DeviceScript import

You must import PicoBricks to access the shield services.

In Visual Studio Code, click the wand icon on the file menu and select "PicoBricks".

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

const motor1 = shield.startMotor1()